#978802
Closest named color: Dark Mustard (#A88905). oklch(62.1% 0.129 101.6), rgb(151, 136, 2).
Aa
Black text reads best on this color (5.83:1).
About this color
#978802 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 62%, its chroma 0.129 and its hue 102°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Mustard (#A88905), ΔE 0.028 away. Black text reads best on it, at 5.83:1.
| Hue family | Yellows |
| Lightness | medium-light (62%) |
| Chroma | moderately saturated (0.129) |
| Temperature | warm |
| Nearest name | Dark Mustard (#A88905) |
| Black text | 5.83:1 |
| White text | 3.59:1 |
Values
| HEX | #978802 |
| RGB | rgb(151, 136, 2) |
| HSL | hsl(54, 97%, 30%) |
| OKLCH | oklch(62.1% 0.129 101.6) |
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 #978802 | 3.59:1 | AA large text | Lc -68.9 | Content text, not long reading |
| Black text on #978802 | 5.83:1 | AA | Lc 40.7 | Non-text elements, placeholder text |
| #978802 text on white | 3.59:1 | AA large text | Lc 63.4 | Content text, not long reading |
| #978802 text on black | 5.83:1 | AA | Lc -38.3 | 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
#F6F6EF
oklch(97.1% 0.009 106.6)
-
Step 100
100
#ECEADD
oklch(93.5% 0.017 99.6)
-
Step 200
200
#DDDAC0
oklch(88.4% 0.035 101.7)
-
Step 300
300
#C9C393
oklch(81% 0.064 101.7)
-
Step 400
400
#AEA354
oklch(70.8% 0.102 101.5)
-
Step 500
500 (this color)
#978802
oklch(62.1% 0.129 101.6)
-
Step 600
600
#827500
oklch(55.7% 0.116 101.7)
-
Step 700
700
#6D6200
oklch(49.1% 0.103 101.8)
-
Step 800
800
#595000
oklch(42.7% 0.089 102)
-
Step 900
900
#4A4200
oklch(37.6% 0.079 101.6)
-
Step 950
950
#2C2703
oklch(27% 0.053 101.4)
#978802 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) | #968400 | 0.011 |
| Deuteranopia (no green cones) | #9A8A15 | 0.009 |
| Tritanopia (no blue cones) | #A47D73 | 0.119 |
| Achromatopsia (no color) | #878787 | 0.129 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #978802
#978802
oklch(62.1% 0.129 101.6)
- #7A7BD2
#7A7BD2
oklch(62.1% 0.13 281.4)
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 #978802, closest first.
No curated palette has a color within ΔE 0.04 of #978802.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Mustard #A88905 ΔE 0.028
- Yellowy Brown #AE8B0C ΔE 0.040
- Mustard Brown #AC7E04 ΔE 0.042
- Olive #808000 ΔE 0.044
- Pea Soup #929901 ΔE 0.047
- Bronze #A87900 ΔE 0.047
- Camo #7F8F4E ΔE 0.052
- Drab #828344 ΔE 0.053
Use #978802 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.