#938D2F#938D2F
#938D2F is a light, moderate yellow. Relative luminance 0.255; OKLCH L 63.0% C 0.114 H 105.7°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #938D2F |
|---|---|
| RGB | rgb(147, 141, 47) |
| HSL | hsl(56, 52%, 38%) |
| HSV | hsv(56, 68%, 58%) |
| CMYK | cmyk(0%, 4.1%, 68%, 42.4%) |
| CIE-LAB | lab(57.52, -9.57, 48.83) |
| CIE-LCH | lch(57.52, 49.76, 101.09°) |
| OKLab | oklab(63.05% -0.0308 0.1098) |
| OKLCH | oklch(63.05% 0.114 105.7) |
| XYZ | xyz(22.0714, 25.4588, 6.4402) |
| Luminance | 0.2546 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 5.91
Olive
#808000
ΔE00 5.99
Pea Soup
#929901
ΔE00 6.01
Baby Shit Green
#889717
ΔE00 6.27
Dark Khaki
#9B8F55
ΔE00 6.52
Drab
#828344
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#938D2F #2F3593
analogous
#935B2F #938D2F #67932F
triadic
#938D2F #2F938D #8D2F93
tetradic
#938D2F #2F935B #2F3593 #932F67
square
#938D2F #2F935B #2F3593 #932F67
split-complementary
#938D2F #2F6793 #5B2F93
monochromatic
#363411 #656120 #938D2F #C1B93E #D0CA6C
Accessibility & contrast
On white
3.45
#938D2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.09
#938D2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #938D2F
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##938D2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##938D2F | 1.00 | 3.45 | 6.09 | 6.09 |
| #FFFFFF | 3.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998822
Deuteranopia (green-blind)
#9B8C35
Tritanopia (blue-blind)
#9E847A
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #938d2f; /* rgb */ color: rgb(147, 141, 47); /* oklch */ color: oklch(63.0% 0.114 105.7);
Tailwind
colors: {
custom: {
50: '#b6ae6d',
500: '#938d2f',
950: '#000000',
},
}SCSS
$custom: #938d2f; $custom-light: #b6ae6d; $custom-dark: #000000;
JSON
{
"hex": "#938d2f",
"rgb": {
"r": 147,
"g": 141,
"b": 47
},
"hsl": {
"h": 56.4,
"s": 51.546,
"l": 38.039
},
"oklch": {
"l": 0.6305,
"c": 0.11403,
"h": 105.7
},
"luminance": 0.25458
}Semantic roles & 50–950 ramp
primary
#938D2F
secondary
#666BB7
accent
#55DB4D
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A