#938D1F#938D1F
#938D1F is a light, vivid yellow. Relative luminance 0.254; OKLCH L 62.9% C 0.124 H 106.2°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #938D1F |
|---|---|
| RGB | rgb(147, 141, 31) |
| HSL | hsl(57, 65%, 35%) |
| HSV | hsv(57, 79%, 58%) |
| CMYK | cmyk(0%, 4.1%, 78.9%, 42.4%) |
| CIE-LAB | lab(57.42, -10.37, 54.77) |
| CIE-LCH | lch(57.42, 55.74, 100.72°) |
| OKLab | oklab(62.94% -0.0347 0.1194) |
| OKLCH | oklch(62.94% 0.124 106.2) |
| XYZ | xyz(21.8057, 25.3525, 5.0410) |
| Luminance | 0.2535 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 5.07
Pea Soup
#929901
ΔE00 5.07
Olive
#808000
ΔE00 5.48
Baby Shit Green
#889717
ΔE00 5.88
Baby Poo
#AB9004
ΔE00 6.96
Diarrhea
#9F8303
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#938D1F #1F2593
analogous
#93531F #938D1F #5F931F
triadic
#938D1F #1F938D #8D1F93
tetradic
#938D1F #1F9353 #1F2593 #931F5F
square
#938D1F #1F9353 #1F2593 #931F5F
split-complementary
#938D1F #1F5F93 #531F93
monochromatic
#2E2C0A #605D14 #938D1F #C6BD2A #DAD352
Accessibility & contrast
On white
3.46
#938D1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.07
#938D1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #938D1F
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##938D1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##938D1F | 1.00 | 3.46 | 6.07 | 6.07 |
| #FFFFFF | 3.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8702
Deuteranopia (green-blind)
#9C8C28
Tritanopia (blue-blind)
#9E8379
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #938d1f; /* rgb */ color: rgb(147, 141, 31); /* oklch */ color: oklch(62.9% 0.124 106.2);
Tailwind
colors: {
custom: {
50: '#b6ae65',
500: '#938d1f',
950: '#000000',
},
}SCSS
$custom: #938d1f; $custom-light: #b6ae65; $custom-dark: #000000;
JSON
{
"hex": "#938d1f",
"rgb": {
"r": 147,
"g": 141,
"b": 31
},
"hsl": {
"h": 56.897,
"s": 65.169,
"l": 34.902
},
"oklch": {
"l": 0.62936,
"c": 0.12428,
"h": 106.2
},
"luminance": 0.25352
}Semantic roles & 50–950 ramp
primary
#938D1F
secondary
#5056BE
accent
#48E840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A