#938E1F#938E1F
#938E1F is a light, vivid yellow. Relative luminance 0.256; 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 | #938E1F |
|---|---|
| RGB | rgb(147, 142, 31) |
| HSL | hsl(57, 65%, 35%) |
| HSV | hsv(57, 79%, 58%) |
| CMYK | cmyk(0%, 3.4%, 78.9%, 42.4%) |
| CIE-LAB | lab(57.70, -10.90, 55.02) |
| CIE-LCH | lch(57.70, 56.09, 101.21°) |
| OKLab | oklab(63.16% -0.0362 0.1199) |
| OKLCH | oklch(63.16% 0.125 106.8) |
| XYZ | xyz(21.9539, 25.6488, 5.0903) |
| Luminance | 0.2565 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 4.68
Pea Soup
#929901
ΔE00 4.68
Baby Shit Green
#889717
ΔE00 5.51
Olive
#808000
ΔE00 5.66
Baby Poo
#AB9004
ΔE00 7.12
Vomit
#A2A415
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#938E1F #1F2493
analogous
#93541F #938E1F #5E931F
triadic
#938E1F #1F938E #8E1F93
tetradic
#938E1F #1F9354 #1F2493 #931F5E
square
#938E1F #1F9354 #1F2493 #931F5E
split-complementary
#938E1F #1F5E93 #541F93
monochromatic
#2E2C0A #605D14 #938E1F #C6BF2A #DAD552
Accessibility & contrast
On white
3.43
#938E1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.13
#938E1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #938E1F
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##938E1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##938E1F | 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)
#9B8801
Deuteranopia (green-blind)
#9D8C28
Tritanopia (blue-blind)
#9E8479
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #938e1f; /* rgb */ color: rgb(147, 142, 31); /* oklch */ color: oklch(63.2% 0.125 106.8);
Tailwind
colors: {
custom: {
50: '#b6ae65',
500: '#938e1f',
950: '#000000',
},
}SCSS
$custom: #938e1f; $custom-light: #b6ae65; $custom-dark: #000000;
JSON
{
"hex": "#938e1f",
"rgb": {
"r": 147,
"g": 142,
"b": 31
},
"hsl": {
"h": 57.414,
"s": 65.169,
"l": 34.902
},
"oklch": {
"l": 0.63163,
"c": 0.12524,
"h": 106.8
},
"luminance": 0.25648
}Semantic roles & 50–950 ramp
primary
#938E1F
secondary
#5055BE
accent
#47E840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A