#6A851B
Closest named color: Swamp Green (#748500). oklch(57.6% 0.131 123.5), rgb(106, 133, 27).
Aa
Black text reads best on this color (4.98:1).
About this color
#6A851B is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 58%, its chroma 0.131 and its hue 123°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Swamp Green (#748500), ΔE 0.015 away. Black text reads best on it, at 4.98:1.
| Hue family | Yellows |
| Lightness | medium-dark (58%) |
| Chroma | moderately saturated (0.131) |
| Temperature | in between |
| Nearest name | Swamp Green (#748500) |
| Black text | 4.98:1 |
| White text | 4.21:1 |
Values
| HEX | #6A851B |
| RGB | rgb(106, 133, 27) |
| HSL | hsl(75, 66%, 31%) |
| OKLCH | oklch(57.6% 0.131 123.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 #6A851B | 4.21:1 | AA large text | Lc -74.4 | Content text, not long reading |
| Black text on #6A851B | 4.98:1 | AA | Lc 35.2 | Non-text elements, placeholder text |
| #6A851B text on white | 4.21:1 | AA large text | Lc 68.9 | Content text, not long reading |
| #6A851B text on black | 4.98:1 | AA | Lc -32.7 | 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
#B9C79E
oklch(80.8% 0.058 123)
-
Step 400
400
#95AB68
oklch(70.8% 0.094 123.6)
-
Step 500
500
#7B953B
oklch(63% 0.121 123.4)
-
Step 600
600 (this color)
#6A851B
oklch(57.6% 0.131 123.5)
-
Step 700
700
#536B00
oklch(49% 0.121 123.6)
-
Step 800
800
#445708
oklch(42.6% 0.1 123.4)
-
Step 900
900
#394813
oklch(37.6% 0.078 123.7)
-
Step 950
950
#222A0D
oklch(26.9% 0.049 122.6)
#6A851B 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) | #8D7C00 | 0.054 |
| Deuteranopia (no green cones) | #8A7B26 | 0.056 |
| Tritanopia (no blue cones) | #707E71 | 0.108 |
| Achromatopsia (no color) | #7B7B7B | 0.131 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #6A851B
#6A851B
oklch(57.6% 0.131 123.5)
- #8A63B8
#8A63B8
oklch(57.6% 0.132 303.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 #6A851B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Swamp Green #748500 ΔE 0.015
- Mossy Green #638B27 ΔE 0.017
- Moss Green #658B38 ΔE 0.023
- Sap Green #5C8B15 ΔE 0.025
- Olive Drab #6B8E23 ΔE 0.026
- Swamp #698339 ΔE 0.026
- Khaki Green #728639 ΔE 0.028
- Murky Green #6C7A0E ΔE 0.031
Use #6A851B 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.