#938E2A#938E2A
#938E2A is a light, moderate yellow. Relative luminance 0.257; OKLCH L 63.2% C 0.119 H 106.5°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #938E2A |
|---|---|
| RGB | rgb(147, 142, 42) |
| HSL | hsl(57, 56%, 37%) |
| HSV | hsv(57, 71%, 58%) |
| CMYK | cmyk(0%, 3.4%, 71.4%, 42.4%) |
| CIE-LAB | lab(57.77, -10.39, 51.13) |
| CIE-LCH | lch(57.77, 52.17, 101.49°) |
| OKLab | oklab(63.24% -0.0337 0.1137) |
| OKLCH | oklch(63.24% 0.119 106.5) |
| XYZ | xyz(22.1244, 25.7170, 5.9885) |
| Luminance | 0.2572 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 5.19
Pea Soup
#929901
ΔE00 5.27
Baby Shit Green
#889717
ΔE00 5.69
Olive
#808000
ΔE00 5.91
Dark Khaki
#9B8F55
ΔE00 7.21
Drab
#828344
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#938E2A #2A2F93
analogous
#935A2A #938E2A #64932A
triadic
#938E2A #2A938E #8E2A93
tetradic
#938E2A #2A935A #2A2F93 #932A64
square
#938E2A #2A935A #2A2F93 #932A64
split-complementary
#938E2A #2A6493 #5A2A93
monochromatic
#34320F #63601C #938E2A #C3BC38 #D3CE65
Accessibility & contrast
On white
3.42
#938E2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.14
#938E2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #938E2A
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##938E2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##938E2A | 1.00 | 3.42 | 6.14 | 6.14 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A891A
Deuteranopia (green-blind)
#9C8D31
Tritanopia (blue-blind)
#9E847A
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #938e2a; /* rgb */ color: rgb(147, 142, 42); /* oklch */ color: oklch(63.2% 0.119 106.5);
Tailwind
colors: {
custom: {
50: '#b6ae6a',
500: '#938e2a',
950: '#000000',
},
}SCSS
$custom: #938e2a; $custom-light: #b6ae6a; $custom-dark: #000000;
JSON
{
"hex": "#938e2a",
"rgb": {
"r": 147,
"g": 142,
"b": 42
},
"hsl": {
"h": 57.143,
"s": 55.556,
"l": 37.059
},
"oklch": {
"l": 0.63236,
"c": 0.11862,
"h": 106.5
},
"luminance": 0.25716
}Semantic roles & 50–950 ramp
primary
#938E2A
secondary
#6064B9
accent
#50DF49
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A