#938B20#938B20
#938B20 is a light, vivid yellow. Relative luminance 0.248; OKLCH L 62.5% C 0.122 H 105.0°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #938B20 |
|---|---|
| RGB | rgb(147, 139, 32) |
| HSL | hsl(56, 64%, 35%) |
| HSV | hsv(56, 78%, 58%) |
| CMYK | cmyk(0%, 5.4%, 78.2%, 42.4%) |
| CIE-LAB | lab(56.85, -9.25, 53.92) |
| CIE-LCH | lch(56.85, 54.71, 99.73°) |
| OKLab | oklab(62.49% -0.0314 0.1178) |
| OKLCH | oklch(62.49% 0.122 105) |
| XYZ | xyz(21.5269, 24.7734, 5.0140) |
| Luminance | 0.2477 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 5.22
Baby Poop Green
#8F9805
ΔE00 5.90
Pea Soup
#929901
ΔE00 5.90
Diarrhea
#9F8303
ΔE00 6.47
Baby Poop
#937C00
ΔE00 6.54
Baby Shit Green
#889717
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#938B20 #202893
analogous
#935120 #938B20 #629320
triadic
#938B20 #20938B #8B2093
tetradic
#938B20 #209351 #202893 #932062
square
#938B20 #209351 #202893 #932062
split-complementary
#938B20 #206293 #512093
monochromatic
#2E2C0A #615B15 #938B20 #C5BB2B #DAD054
Accessibility & contrast
On white
3.53
#938B20 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.95
#938B20 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #938B20
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##938B20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##938B20 | 1.00 | 3.53 | 5.95 | 5.95 |
| #FFFFFF | 3.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#988605
Deuteranopia (green-blind)
#9B8A28
Tritanopia (blue-blind)
#9E8177
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #938b20; /* rgb */ color: rgb(147, 139, 32); /* oklch */ color: oklch(62.5% 0.122 105.0);
Tailwind
colors: {
custom: {
50: '#b6ac65',
500: '#938b20',
950: '#000000',
},
}SCSS
$custom: #938b20; $custom-light: #b6ac65; $custom-dark: #000000;
JSON
{
"hex": "#938b20",
"rgb": {
"r": 147,
"g": 139,
"b": 32
},
"hsl": {
"h": 55.826,
"s": 64.246,
"l": 35.098
},
"oklch": {
"l": 0.62489,
"c": 0.12188,
"h": 105
},
"luminance": 0.24773
}Semantic roles & 50–950 ramp
primary
#938B20
secondary
#5259BD
accent
#4CE741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A