#838B01
Closest named color: Dark Yellow Green (#728F02). oklch(60.9% 0.136 113.8), rgb(131, 139, 1).
Aa
Black text reads best on this color (5.65:1).
About this color
#838B01 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 61%, its chroma 0.136 and its hue 114°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Yellow Green (#728F02), ΔE 0.025 away. Black text reads best on it, at 5.65:1.
| Hue family | Yellows |
| Lightness | medium-dark (61%) |
| Chroma | moderately saturated (0.136) |
| Temperature | in between |
| Nearest name | Dark Yellow Green (#728F02) |
| Black text | 5.65:1 |
| White text | 3.71:1 |
Values
| HEX | #838B01 |
| RGB | rgb(131, 139, 1) |
| HSL | hsl(63, 99%, 27%) |
| OKLCH | oklch(60.9% 0.136 113.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 #838B01 | 3.71:1 | AA large text | Lc -70.0 | Content text, not long reading |
| Black text on #838B01 | 5.65:1 | AA | Lc 39.6 | Non-text elements, placeholder text |
| #838B01 text on white | 3.71:1 | AA large text | Lc 64.5 | Content text, not long reading |
| #838B01 text on black | 5.65:1 | AA | Lc -37.2 | 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
#F5F6EF
oklch(97% 0.009 113.2)
-
Step 100
100
#E9ECDD
oklch(93.7% 0.02 116)
-
Step 200
200
#D8DCC1
oklch(88.4% 0.036 114)
-
Step 300
300
#C0C694
oklch(80.9% 0.067 113.5)
-
Step 400
400
#A0A856
oklch(70.7% 0.107 113.7)
-
Step 500
500 (this color)
#838B01
oklch(60.9% 0.136 113.8)
-
Step 600
600
#737A00
oklch(55.5% 0.124 113.7)
-
Step 700
700
#616700
oklch(49.2% 0.11 113.7)
-
Step 800
800
#4F5400
oklch(42.7% 0.096 113.7)
-
Step 900
900
#424600
oklch(37.8% 0.084 113.4)
-
Step 950
950
#262903
oklch(26.9% 0.057 114)
#838B01 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) | #968400 | 0.034 |
| Deuteranopia (no green cones) | #968617 | 0.034 |
| Tritanopia (no blue cones) | #8D8276 | 0.122 |
| Achromatopsia (no color) | #858585 | 0.137 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #838B01
#838B01
oklch(60.9% 0.136 113.8)
- #8871CC
#8871CC
oklch(61% 0.136 293.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 #838B01, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Yellow Green #728F02 ΔE 0.025
- Swamp Green #748500 ΔE 0.029
- Olive Drab #6B8E23 ΔE 0.032
- Olive #808000 ΔE 0.032
- Khaki Green #728639 ΔE 0.042
- Mossy Green #638B27 ΔE 0.042
- Moss Green #658B38 ΔE 0.044
- Pea Soup #929901 ΔE 0.047
Use #838B01 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.