#6F8A28
Closest named color: Olive Drab (#6B8E23). oklch(59.3% 0.127 123.7), rgb(111, 138, 40).
Aa
Black text reads best on this color (5.34:1).
About this color
#6F8A28 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 59%, its chroma 0.127 and its hue 124°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Olive Drab (#6B8E23), ΔE 0.014 away. Black text reads best on it, at 5.34:1.
| Hue family | Yellows |
| Lightness | medium-dark (59%) |
| Chroma | moderately saturated (0.127) |
| Temperature | in between |
| Nearest name | Olive Drab (#6B8E23) |
| Black text | 5.34:1 |
| White text | 3.93:1 |
Values
| HEX | #6F8A28 |
| RGB | rgb(111, 138, 40) |
| HSL | hsl(77, 55%, 35%) |
| OKLCH | oklch(59.3% 0.127 123.7) |
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 #6F8A28 | 3.93:1 | AA large text | Lc -72.1 | Content text, not long reading |
| Black text on #6F8A28 | 5.34:1 | AA | Lc 37.5 | Non-text elements, placeholder text |
| #6F8A28 text on white | 3.93:1 | AA large text | Lc 66.6 | Content text, not long reading |
| #6F8A28 text on black | 5.34:1 | AA | Lc -35.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 600.
-
Step 50
50
#F4F6F1
oklch(97% 0.007 124.4)
-
Step 100
100
#E7ECE0
oklch(93.6% 0.017 125.3)
-
Step 200
200
#D5DDC6
oklch(88.5% 0.032 122.7)
-
Step 300
300
#B9C79F
oklch(80.8% 0.057 123.3)
-
Step 400
400
#95AA6A
oklch(70.6% 0.09 123.5)
-
Step 500
500
#7B953F
oklch(63.1% 0.117 123.8)
-
Step 600
600 (this color)
#6F8A28
oklch(59.3% 0.127 123.7)
-
Step 700
700
#536B08
oklch(49.1% 0.118 123.9)
-
Step 800
800
#44570E
oklch(42.6% 0.097 123.7)
-
Step 900
900
#394815
oklch(37.7% 0.076 124)
-
Step 950
950
#222A0E
oklch(27% 0.047 122.9)
#6F8A28 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) | #928119 | 0.053 |
| Deuteranopia (no green cones) | #8E8030 | 0.054 |
| Tritanopia (no blue cones) | #758377 | 0.106 |
| Achromatopsia (no color) | #808080 | 0.127 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #6F8A28
#6F8A28
oklch(59.3% 0.127 123.7)
- #8E69BB
#8E69BB
oklch(59.2% 0.127 303.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 #6F8A28, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Olive Drab #6B8E23 ΔE 0.014
- Moss Green #658B38 ΔE 0.016
- Mossy Green #638B27 ΔE 0.016
- Swamp Green #748500 ΔE 0.018
- Khaki Green #728639 ΔE 0.022
- Dark Yellow Green #728F02 ΔE 0.025
- Sap Green #5C8B15 ΔE 0.029
- Swamp #698339 ΔE 0.030
Use #6F8A28 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.