#938F2B#938F2B
#938F2B is a light, moderate yellow. Relative luminance 0.260; OKLCH L 63.5% C 0.119 H 107.1°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #938F2B |
|---|---|
| RGB | rgb(147, 143, 43) |
| HSL | hsl(58, 55%, 37%) |
| HSV | hsv(58, 71%, 58%) |
| CMYK | cmyk(0%, 2.7%, 70.7%, 42.4%) |
| CIE-LAB | lab(58.06, -10.87, 51.02) |
| CIE-LCH | lch(58.06, 52.16, 102.03°) |
| OKLab | oklab(63.47% -0.0349 0.1137) |
| OKLCH | oklch(63.47% 0.119 107.1) |
| XYZ | xyz(22.2920, 26.0231, 6.1337) |
| Luminance | 0.2602 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 4.90
Pea Soup
#929901
ΔE00 4.99
Baby Shit Green
#889717
ΔE00 5.36
Olive
#808000
ΔE00 6.13
Dark Khaki
#9B8F55
ΔE00 7.25
Vomit
#A2A415
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#938F2B #2B2F93
analogous
#935B2B #938F2B #63932B
triadic
#938F2B #2B938F #8F2B93
tetradic
#938F2B #2B935B #2B2F93 #932B63
square
#938F2B #2B935B #2B2F93 #932B63
split-complementary
#938F2B #2B6393 #5B2B93
monochromatic
#34330F #64611D #938F2B #C2BD39 #D2CE66
Accessibility & contrast
On white
3.38
#938F2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.20
#938F2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #938F2B
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##938F2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##938F2B | 1.00 | 3.38 | 6.20 | 6.20 |
| #FFFFFF | 3.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B891B
Deuteranopia (green-blind)
#9D8D32
Tritanopia (blue-blind)
#9E857B
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #938f2b; /* rgb */ color: rgb(147, 143, 43); /* oklch */ color: oklch(63.5% 0.119 107.1);
Tailwind
colors: {
custom: {
50: '#b6af6b',
500: '#938f2b',
950: '#000000',
},
}SCSS
$custom: #938f2b; $custom-light: #b6af6b; $custom-dark: #000000;
JSON
{
"hex": "#938f2b",
"rgb": {
"r": 147,
"g": 143,
"b": 43
},
"hsl": {
"h": 57.692,
"s": 54.737,
"l": 37.255
},
"oklch": {
"l": 0.6347,
"c": 0.11894,
"h": 107.1
},
"luminance": 0.26022
}Semantic roles & 50–950 ramp
primary
#938F2B
secondary
#6165B9
accent
#4FDE4A
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A