#978F07
Closest named color: Pea Soup (#929901). oklch(63.7% 0.134 105.6), rgb(151, 143, 7).
Aa
Black text reads best on this color (6.24:1).
About this color
#978F07 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 64%, its chroma 0.134 and its hue 106°. Its hue sits on the warm side of the wheel. The nearest named color is Pea Soup (#929901), ΔE 0.028 away. Black text reads best on it, at 6.24:1.
| Hue family | Yellows |
| Lightness | medium-light (64%) |
| Chroma | moderately saturated (0.134) |
| Temperature | warm |
| Nearest name | Pea Soup (#929901) |
| Black text | 6.24:1 |
| White text | 3.36:1 |
Values
| HEX | #978F07 |
| RGB | rgb(151, 143, 7) |
| HSL | hsl(57, 91%, 31%) |
| OKLCH | oklch(63.7% 0.134 105.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 #978F07 | 3.36:1 | AA large text | Lc -66.3 | Content text, not long reading |
| Black text on #978F07 | 6.24:1 | AA | Lc 43.2 | Non-text elements, placeholder text |
| #978F07 text on white | 3.36:1 | AA large text | Lc 60.9 | Content text, not long reading |
| #978F07 text on black | 6.24:1 | AA | Lc -40.8 | 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
#EBEBDD
oklch(93.6% 0.019 106.8)
-
Step 200
200
#DCDBC0
oklch(88.5% 0.036 105.4)
-
Step 300
300
#C6C493
oklch(81% 0.065 105.8)
-
Step 400
400
#AAA452
oklch(70.6% 0.105 105)
-
Step 500
500 (this color)
#978F07
oklch(63.7% 0.134 105.6)
-
Step 600
600
#7D7700
oklch(55.7% 0.119 106.2)
-
Step 700
700
#696300
oklch(49% 0.104 105.5)
-
Step 800
800
#565100
oklch(42.6% 0.091 105.5)
-
Step 900
900
#484400
oklch(37.8% 0.081 105.9)
-
Step 950
950
#2A2802
oklch(27% 0.055 106.6)
#978F07 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) | #9D8900 | 0.018 |
| Deuteranopia (no green cones) | #A08E1A | 0.017 |
| Tritanopia (no blue cones) | #A38479 | 0.122 |
| Achromatopsia (no color) | #8C8C8C | 0.134 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #978F07
#978F07
oklch(63.7% 0.134 105.6)
- #857DD8
#857DD8
oklch(63.6% 0.134 285.9)
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 #978F07, closest first.
No curated palette has a color within ΔE 0.04 of #978F07.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pea Soup #929901 ΔE 0.028
- Dark Mustard #A88905 ΔE 0.030
- Yellowy Brown #AE8B0C ΔE 0.038
- Brown Yellow #B29705 ΔE 0.049
- Dark Gold #B59410 ΔE 0.051
- Camo #7F8F4E ΔE 0.054
- Yellow Brown #B79400 ΔE 0.054
- Dark Yellow Green #728F02 ΔE 0.054
Use #978F07 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.