#A78E02

Closest named color: Dark Mustard (#A88905). oklch(65% 0.133 96.5), rgb(167, 142, 2).

Aa

Black text reads best on this color (6.51:1).

About this color

#A78E02 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 65%, its chroma 0.133 and its hue 96°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Mustard (#A88905), ΔE 0.014 away. Black text reads best on it, at 6.51:1.

Hue familyYellows
Lightnessmedium-light (65%)
Chromamoderately saturated (0.133)
Temperaturewarm
Nearest nameDark Mustard (#A88905)
Black text6.51:1
White text3.22:1

Values

HEX#A78E02
RGBrgb(167, 142, 2)
HSLhsl(51, 98%, 33%)
OKLCHoklch(65% 0.133 96.5)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #A78E02 3.22:1 AA large text Lc -64.7 Content text, not long reading
Black text on #A78E02 6.51:1 AA Lc 44.8 Non-text elements, placeholder text
#A78E02 text on white 3.22:1 AA large text Lc 59.3 Large or bold text, headings
#A78E02 text on black 6.51:1 AA Lc -42.4 Non-text elements, placeholder text

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 500.

  1. Step 50

    50

    #F7F6EF

    oklch(97.2% 0.009 100)

  2. Step 100

    100

    #EDEADC

    oklch(93.6% 0.019 96.9)

  3. Step 200

    200

    #E0DABF

    oklch(88.6% 0.037 96.7)

  4. Step 300

    300

    #CCC191

    oklch(80.8% 0.065 96.7)

  5. Step 400

    400

    #B3A14F

    oklch(70.8% 0.105 97.2)

  6. Step 500

    500 (this color)

    #A78E02

    oklch(65% 0.133 96.5)

  7. Step 600

    600

    #877200

    oklch(55.5% 0.114 96.2)

  8. Step 700

    700

    #716000

    oklch(49.1% 0.101 97)

  9. Step 800

    800

    #5D4E00

    oklch(42.6% 0.088 96.3)

  10. Step 900

    900

    #4E4100

    oklch(37.8% 0.078 96.2)

  11. Step 950

    950

    #2E2600

    oklch(27% 0.056 97.1)

Export this scale for Tailwind in the Tailwind colors tool

#A78E02 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#9E8B000.017
Deuteranopia (no green cones)#A593150.013
Tritanopia (no blue cones)#B582780.122
Achromatopsia (no color)#8F8F8F0.133

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #A78E02

    #A78E02

    oklch(65% 0.133 96.5)

  • #7B86DF

    #7B86DF

    oklch(65% 0.133 276.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A78E02

    #A78E02

    oklch(65% 0.133 96.5)

  • #C57D20

    #C57D20

    oklch(65.1% 0.134 66.8)

  • #7A9D3A

    #7A9D3A

    oklch(64.9% 0.133 126.4)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #A78E02

    #A78E02

    oklch(65% 0.133 96.5)

  • #3F95DB

    #3F95DB

    oklch(64.9% 0.133 246.5)

  • #A478CF

    #A478CF

    oklch(65.1% 0.133 306.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A78E02

    #A78E02

    oklch(65% 0.133 96.5)

  • #00A0BC

    #00A0BC

    oklch(65% 0.116 216.1)

  • #C16DAD

    #C16DAD

    oklch(64.9% 0.133 336.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A78E02

    #A78E02

    oklch(65% 0.133 96.5)

  • #00A59A

    #00A59A

    oklch(65% 0.114 186.5)

  • #7B86DF

    #7B86DF

    oklch(65% 0.133 276.7)

  • #D26982

    #D26982

    oklch(65.1% 0.134 6.5)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #A78E02, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #A78E02 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.