#938E2F#938E2F
#938E2F is a light, moderate yellow. Relative luminance 0.258; OKLCH L 63.3% C 0.115 H 106.3°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #938E2F |
|---|---|
| RGB | rgb(147, 142, 47) |
| HSL | hsl(57, 52%, 38%) |
| HSV | hsv(57, 68%, 58%) |
| CMYK | cmyk(0%, 3.4%, 68%, 42.4%) |
| CIE-LAB | lab(57.80, -10.11, 49.12) |
| CIE-LCH | lch(57.80, 50.15, 101.63°) |
| OKLab | oklab(63.28% -0.0323 0.1104) |
| OKLCH | oklch(63.28% 0.115 106.3) |
| XYZ | xyz(22.2195, 25.7550, 6.4896) |
| Luminance | 0.2575 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 5.55
Pea Soup
#929901
ΔE00 5.66
Baby Shit Green
#889717
ΔE00 5.89
Olive
#808000
ΔE00 6.14
Dark Khaki
#9B8F55
ΔE00 6.66
Drab
#828344
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#938E2F #2F3493
analogous
#935C2F #938E2F #66932F
triadic
#938E2F #2F938E #8E2F93
tetradic
#938E2F #2F935C #2F3493 #932F66
square
#938E2F #2F935C #2F3493 #932F66
split-complementary
#938E2F #2F6693 #5C2F93
monochromatic
#363411 #656120 #938E2F #C1BB3E #D0CB6C
Accessibility & contrast
On white
3.41
#938E2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.15
#938E2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #938E2F
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##938E2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##938E2F | 1.00 | 3.41 | 6.15 | 6.15 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8922
Deuteranopia (green-blind)
#9C8D35
Tritanopia (blue-blind)
#9E857B
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #938e2f; /* rgb */ color: rgb(147, 142, 47); /* oklch */ color: oklch(63.3% 0.115 106.3);
Tailwind
colors: {
custom: {
50: '#b6ae6d',
500: '#938e2f',
950: '#000000',
},
}SCSS
$custom: #938e2f; $custom-light: #b6ae6d; $custom-dark: #000000;
JSON
{
"hex": "#938e2f",
"rgb": {
"r": 147,
"g": 142,
"b": 47
},
"hsl": {
"h": 57,
"s": 51.546,
"l": 38.039
},
"oklch": {
"l": 0.63276,
"c": 0.11503,
"h": 106.3
},
"luminance": 0.25754
}Semantic roles & 50–950 ramp
primary
#938E2F
secondary
#666AB7
accent
#54DB4D
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A