#938E20#938E20
#938E20 is a light, vivid yellow. Relative luminance 0.257; OKLCH L 63.2% C 0.125 H 106.8°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #938E20 |
|---|---|
| RGB | rgb(147, 142, 32) |
| HSL | hsl(57, 64%, 35%) |
| HSV | hsv(57, 78%, 58%) |
| CMYK | cmyk(0%, 3.4%, 78.2%, 42.4%) |
| CIE-LAB | lab(57.71, -10.86, 54.70) |
| CIE-LCH | lch(57.71, 55.77, 101.23°) |
| OKLab | oklab(63.17% -0.036 0.1194) |
| OKLCH | oklch(63.17% 0.125 106.8) |
| XYZ | xyz(21.9672, 25.6541, 5.1608) |
| Luminance | 0.2565 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 4.71
Pea Soup
#929901
ΔE00 4.72
Baby Shit Green
#889717
ΔE00 5.51
Olive
#808000
ΔE00 5.67
Baby Poo
#AB9004
ΔE00 7.15
Vomit
#A2A415
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#938E20 #202593
analogous
#935420 #938E20 #5F9320
triadic
#938E20 #20938E #8E2093
tetradic
#938E20 #209354 #202593 #93205F
square
#938E20 #209354 #202593 #93205F
split-complementary
#938E20 #205F93 #542093
monochromatic
#2E2D0A #615D15 #938E20 #C5BF2B #DAD454
Accessibility & contrast
On white
3.43
#938E20 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.13
#938E20 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #938E20
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##938E20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##938E20 | 1.00 | 3.43 | 6.13 | 6.13 |
| #FFFFFF | 3.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8803
Deuteranopia (green-blind)
#9D8D29
Tritanopia (blue-blind)
#9E8479
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #938e20; /* rgb */ color: rgb(147, 142, 32); /* oklch */ color: oklch(63.2% 0.125 106.8);
Tailwind
colors: {
custom: {
50: '#b6ae65',
500: '#938e20',
950: '#000000',
},
}SCSS
$custom: #938e20; $custom-light: #b6ae65; $custom-dark: #000000;
JSON
{
"hex": "#938e20",
"rgb": {
"r": 147,
"g": 142,
"b": 32
},
"hsl": {
"h": 57.391,
"s": 64.246,
"l": 35.098
},
"oklch": {
"l": 0.63169,
"c": 0.12471,
"h": 106.8
},
"luminance": 0.25653
}Semantic roles & 50–950 ramp
primary
#938E20
secondary
#5256BD
accent
#48E741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A