#938C2A#938C2A
#938C2A is a light, moderate yellow. Relative luminance 0.251; OKLCH L 62.8% C 0.117 H 105.2°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #938C2A |
|---|---|
| RGB | rgb(147, 140, 42) |
| HSL | hsl(56, 56%, 37%) |
| HSV | hsv(56, 71%, 58%) |
| CMYK | cmyk(0%, 4.8%, 71.4%, 42.4%) |
| CIE-LAB | lab(57.20, -9.31, 50.57) |
| CIE-LCH | lch(57.20, 51.42, 100.44°) |
| OKLab | oklab(62.78% -0.0306 0.1126) |
| OKLCH | oklch(62.78% 0.117 105.2) |
| XYZ | xyz(21.8295, 25.1272, 5.8902) |
| Luminance | 0.2513 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 5.63
Baby Poop Green
#8F9805
ΔE00 5.95
Pea Soup
#929901
ΔE00 6.01
Baby Shit Green
#889717
ΔE00 6.46
Dark Khaki
#9B8F55
ΔE00 6.97
Diarrhea
#9F8303
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#938C2A #2A3193
analogous
#93582A #938C2A #66932A
triadic
#938C2A #2A938C #8C2A93
tetradic
#938C2A #2A9358 #2A3193 #932A66
square
#938C2A #2A9358 #2A3193 #932A66
split-complementary
#938C2A #2A6693 #582A93
monochromatic
#34310F #635F1C #938C2A #C3B938 #D3CC65
Accessibility & contrast
On white
3.49
#938C2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.03
#938C2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #938C2A
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##938C2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##938C2A | 1.00 | 3.49 | 6.03 | 6.03 |
| #FFFFFF | 3.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#98871A
Deuteranopia (green-blind)
#9B8B31
Tritanopia (blue-blind)
#9E8279
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #938c2a; /* rgb */ color: rgb(147, 140, 42); /* oklch */ color: oklch(62.8% 0.117 105.2);
Tailwind
colors: {
custom: {
50: '#b6ad6a',
500: '#938c2a',
950: '#000000',
},
}SCSS
$custom: #938c2a; $custom-light: #b6ad6a; $custom-dark: #000000;
JSON
{
"hex": "#938c2a",
"rgb": {
"r": 147,
"g": 140,
"b": 42
},
"hsl": {
"h": 56,
"s": 55.556,
"l": 37.059
},
"oklch": {
"l": 0.62783,
"c": 0.11665,
"h": 105.2
},
"luminance": 0.25126
}Semantic roles & 50–950 ramp
primary
#938C2A
secondary
#6066B9
accent
#53DF49
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A