#938C1F#938C1F
#938C1F is a light, vivid yellow. Relative luminance 0.251; OKLCH L 62.7% C 0.123 H 105.6°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #938C1F |
|---|---|
| RGB | rgb(147, 140, 31) |
| HSL | hsl(56, 65%, 35%) |
| HSV | hsv(56, 79%, 58%) |
| CMYK | cmyk(0%, 4.8%, 78.9%, 42.4%) |
| CIE-LAB | lab(57.13, -9.83, 54.51) |
| CIE-LCH | lch(57.13, 55.39, 100.22°) |
| OKLab | oklab(62.71% -0.0332 0.1188) |
| OKLCH | oklch(62.71% 0.123 105.6) |
| XYZ | xyz(21.6590, 25.0590, 4.9920) |
| Luminance | 0.2506 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 5.33
Pea Soup
#929901
ΔE00 5.46
Baby Poop Green
#8F9805
ΔE00 5.47
Baby Shit Green
#889717
ΔE00 6.26
Diarrhea
#9F8303
ΔE00 6.79
Baby Poo
#AB9004
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#938C1F #1F2693
analogous
#93521F #938C1F #60931F
triadic
#938C1F #1F938C #8C1F93
tetradic
#938C1F #1F9352 #1F2693 #931F60
square
#938C1F #1F9352 #1F2693 #931F60
split-complementary
#938C1F #1F6093 #521F93
monochromatic
#2E2C0A #605C14 #938C1F #C6BC2A #DAD252
Accessibility & contrast
On white
3.49
#938C1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.01
#938C1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #938C1F
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##938C1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##938C1F | 1.00 | 3.49 | 6.01 | 6.01 |
| #FFFFFF | 3.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998702
Deuteranopia (green-blind)
#9B8B28
Tritanopia (blue-blind)
#9E8278
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #938c1f; /* rgb */ color: rgb(147, 140, 31); /* oklch */ color: oklch(62.7% 0.123 105.6);
Tailwind
colors: {
custom: {
50: '#b6ad65',
500: '#938c1f',
950: '#000000',
},
}SCSS
$custom: #938c1f; $custom-light: #b6ad65; $custom-dark: #000000;
JSON
{
"hex": "#938c1f",
"rgb": {
"r": 147,
"g": 140,
"b": 31
},
"hsl": {
"h": 56.379,
"s": 65.169,
"l": 34.902
},
"oklch": {
"l": 0.62709,
"c": 0.12334,
"h": 105.6
},
"luminance": 0.25058
}Semantic roles & 50–950 ramp
primary
#938C1F
secondary
#5057BE
accent
#4AE840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A