#7B9727
Closest named color: Dark Yellow Green (#728F02). oklch(63.3% 0.139 122.8), rgb(123, 151, 39).
Aa
Black text reads best on this color (6.29:1).
About this color
#7B9727 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 63%, its chroma 0.139 and its hue 123°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Yellow Green (#728F02), ΔE 0.029 away. Black text reads best on it, at 6.29:1.
| Hue family | Yellows |
| Lightness | medium-light (63%) |
| Chroma | moderately saturated (0.139) |
| Temperature | in between |
| Nearest name | Dark Yellow Green (#728F02) |
| Black text | 6.29:1 |
| White text | 3.33:1 |
Values
| HEX | #7B9727 |
| RGB | rgb(123, 151, 39) |
| HSL | hsl(75, 59%, 37%) |
| OKLCH | oklch(63.3% 0.139 122.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 #7B9727 | 3.33:1 | AA large text | Lc -66.1 | Content text, not long reading |
| Black text on #7B9727 | 6.29:1 | AA | Lc 43.4 | Non-text elements, placeholder text |
| #7B9727 text on white | 3.33:1 | AA large text | Lc 60.6 | Content text, not long reading |
| #7B9727 text on black | 6.29:1 | AA | Lc -41.1 | 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
#F4F6F0
oklch(97% 0.008 121.6)
-
Step 100
100
#E7ECDE
oklch(93.5% 0.019 122.8)
-
Step 200
200
#D4DEC3
oklch(88.6% 0.038 123.7)
-
Step 300
300
#B8C898
oklch(80.8% 0.067 122.9)
-
Step 400
400
#94AC5D
oklch(70.8% 0.109 123)
-
Step 500
500 (this color)
#7B9727
oklch(63.3% 0.139 122.8)
-
Step 600
600
#657F00
oklch(55.6% 0.136 122.8)
-
Step 700
700
#546B00
oklch(49.1% 0.121 123.1)
-
Step 800
800
#455700
oklch(42.6% 0.104 122.4)
-
Step 900
900
#394903
oklch(37.8% 0.091 122.9)
-
Step 950
950
#212B07
oklch(27.1% 0.057 123.6)
#7B9727 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) | #A08D11 | 0.056 |
| Deuteranopia (no green cones) | #9C8D31 | 0.056 |
| Tritanopia (no blue cones) | #818F81 | 0.115 |
| Achromatopsia (no color) | #8D8D8D | 0.139 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7B9727
#7B9727
oklch(63.3% 0.139 122.8)
- #9B73CF
#9B73CF
oklch(63.3% 0.139 302.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 #7B9727, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Yellow Green #728F02 ΔE 0.029
- Flat Green #699D4C ΔE 0.033
- Pea Soup #929901 ΔE 0.033
- Olive Drab #6B8E23 ΔE 0.035
- Drab Green #749551 ΔE 0.040
- Off Green #6BA353 ΔE 0.042
- Muted Green #5FA052 ΔE 0.043
- Moss #769958 ΔE 0.044
Use #7B9727 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.