#7F970F
Closest named color: Pea Soup (#929901). oklch(63.5% 0.148 120.5), rgb(127, 151, 15).
Aa
Black text reads best on this color (6.33:1).
About this color
#7F970F is a medium-light, vivid yellow. In OKLCH its lightness is 64%, its chroma 0.148 and its hue 120°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pea Soup (#929901), ΔE 0.028 away. Black text reads best on it, at 6.33:1.
| Hue family | Yellows |
| Lightness | medium-light (64%) |
| Chroma | vivid (0.148) |
| Temperature | in between |
| Nearest name | Pea Soup (#929901) |
| Black text | 6.33:1 |
| White text | 3.31:1 |
Values
| HEX | #7F970F |
| RGB | rgb(127, 151, 15) |
| HSL | hsl(71, 82%, 33%) |
| OKLCH | oklch(63.5% 0.148 120.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 #7F970F | 3.31:1 | AA large text | Lc -65.8 | Content text, not long reading |
| Black text on #7F970F | 6.33:1 | AA | Lc 43.7 | Non-text elements, placeholder text |
| #7F970F text on white | 3.31:1 | AA large text | Lc 60.4 | Content text, not long reading |
| #7F970F text on black | 6.33:1 | AA | Lc -41.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
#F4F6EF
oklch(97% 0.009 119.6)
-
Step 100
100
#E8ECDD
oklch(93.6% 0.02 118.9)
-
Step 200
200
#D5DEC0
oklch(88.6% 0.041 120.8)
-
Step 300
300
#BAC894
oklch(80.9% 0.072 120.3)
-
Step 400
400
#97AB54
oklch(70.7% 0.115 120.1)
-
Step 500
500 (this color)
#7F970F
oklch(63.5% 0.148 120.5)
-
Step 600
600
#697E00
oklch(55.6% 0.133 120.6)
-
Step 700
700
#586A00
oklch(49.2% 0.117 120.6)
-
Step 800
800
#485700
oklch(42.9% 0.102 120.5)
-
Step 900
900
#3B4800
oklch(37.7% 0.09 120.7)
-
Step 950
950
#222B03
oklch(27.1% 0.061 121.6)
#7F970F 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) | #A18D00 | 0.054 |
| Deuteranopia (no green cones) | #9E8D21 | 0.055 |
| Tritanopia (no blue cones) | #878E80 | 0.126 |
| Achromatopsia (no color) | #8D8D8D | 0.148 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7F970F
#7F970F
oklch(63.5% 0.148 120.5)
- #9A73D6
#9A73D6
oklch(63.6% 0.148 300.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 #7F970F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pea Soup #929901 ΔE 0.028
- Dark Yellow Green #728F02 ΔE 0.030
- Olive Drab #6B8E23 ΔE 0.040
- Flat Green #699D4C ΔE 0.042
- Off Green #6BA353 ΔE 0.050
- Drab Green #749551 ΔE 0.051
- Leaf #71AA34 ΔE 0.051
- Muted Green #5FA052 ΔE 0.052
Use #7F970F 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.