#7D9012
Closest named color: Dark Yellow Green (#728F02). oklch(61.7% 0.14 118.8), rgb(125, 144, 18).
Aa
Black text reads best on this color (5.87:1).
About this color
#7D9012 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 62%, its chroma 0.140 and its hue 119°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Yellow Green (#728F02), ΔE 0.017 away. Black text reads best on it, at 5.87:1.
| Hue family | Yellows |
| Lightness | medium-dark (62%) |
| Chroma | moderately saturated (0.140) |
| Temperature | in between |
| Nearest name | Dark Yellow Green (#728F02) |
| Black text | 5.87:1 |
| White text | 3.57:1 |
Values
| HEX | #7D9012 |
| RGB | rgb(125, 144, 18) |
| HSL | hsl(69, 78%, 32%) |
| OKLCH | oklch(61.7% 0.14 118.8) |
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 #7D9012 | 3.57:1 | AA large text | Lc -68.7 | Content text, not long reading |
| Black text on #7D9012 | 5.87:1 | AA | Lc 40.9 | Non-text elements, placeholder text |
| #7D9012 text on white | 3.57:1 | AA large text | Lc 63.2 | Content text, not long reading |
| #7D9012 text on black | 5.87:1 | AA | Lc -38.5 | 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
#F5F6F0
oklch(97.1% 0.008 114.2)
-
Step 100
100
#E8ECDD
oklch(93.6% 0.02 118.9)
-
Step 200
200
#D6DDC1
oklch(88.5% 0.038 118.6)
-
Step 300
300
#BBC796
oklch(80.8% 0.067 119.1)
-
Step 400
400
#99AA58
oklch(70.6% 0.109 118.9)
-
Step 500
500 (this color)
#7D9012
oklch(61.7% 0.14 118.8)
-
Step 600
600
#6C7D00
oklch(55.6% 0.13 118.8)
-
Step 700
700
#5A6900
oklch(49.1% 0.115 119)
-
Step 800
800
#4A5600
oklch(42.8% 0.1 118.6)
-
Step 900
900
#3D4800
oklch(37.8% 0.089 119.1)
-
Step 950
950
#242A04
oklch(27% 0.058 118.2)
#7D9012 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) | #9A8700 | 0.047 |
| Deuteranopia (no green cones) | #988821 | 0.048 |
| Tritanopia (no blue cones) | #85887A | 0.119 |
| Achromatopsia (no color) | #878787 | 0.140 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7D9012
#7D9012
oklch(61.7% 0.14 118.8)
- #9170CD
#9170CD
oklch(61.7% 0.14 298.6)
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 #7D9012, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Yellow Green #728F02 ΔE 0.017
- Olive Drab #6B8E23 ΔE 0.025
- Swamp Green #748500 ΔE 0.035
- Mossy Green #638B27 ΔE 0.039
- Pea Soup #929901 ΔE 0.041
- Moss Green #658B38 ΔE 0.042
- Olive #808000 ΔE 0.044
- Khaki Green #728639 ΔE 0.046
Use #7D9012 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.