#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 family | Yellows |
| Lightness | medium-light (65%) |
| Chroma | moderately saturated (0.133) |
| Temperature | warm |
| Nearest name | Dark Mustard (#A88905) |
| Black text | 6.51:1 |
| White text | 3.22:1 |
Values
| HEX | #A78E02 |
| RGB | rgb(167, 142, 2) |
| HSL | hsl(51, 98%, 33%) |
| OKLCH | oklch(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.
| Pair | WCAG 2 | Result | APCA | APCA 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.
-
Step 50
50
#F7F6EF
oklch(97.2% 0.009 100)
-
Step 100
100
#EDEADC
oklch(93.6% 0.019 96.9)
-
Step 200
200
#E0DABF
oklch(88.6% 0.037 96.7)
-
Step 300
300
#CCC191
oklch(80.8% 0.065 96.7)
-
Step 400
400
#B3A14F
oklch(70.8% 0.105 97.2)
-
Step 500
500 (this color)
#A78E02
oklch(65% 0.133 96.5)
-
Step 600
600
#877200
oklch(55.5% 0.114 96.2)
-
Step 700
700
#716000
oklch(49.1% 0.101 97)
-
Step 800
800
#5D4E00
oklch(42.6% 0.088 96.3)
-
Step 900
900
#4E4100
oklch(37.8% 0.078 96.2)
-
Step 950
950
#2E2600
oklch(27% 0.056 97.1)
#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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #9E8B00 | 0.017 |
| Deuteranopia (no green cones) | #A59315 | 0.013 |
| Tritanopia (no blue cones) | #B58278 | 0.122 |
| Achromatopsia (no color) | #8F8F8F | 0.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)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
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.
- Dark Mustard #A88905 ΔE 0.014
- Yellowy Brown #AE8B0C ΔE 0.014
- Dark Gold #B59410 ΔE 0.029
- Brown Yellow #B29705 ΔE 0.031
- Yellow Brown #B79400 ΔE 0.032
- Dark Goldenrod #B8860B ΔE 0.035
- Ochre #BF9005 ΔE 0.041
- Pea Soup #929901 ΔE 0.042
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.