#938F1F#938F1F
#938F1F is a light, vivid yellow. Relative luminance 0.259; OKLCH L 63.4% C 0.126 H 107.4°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #938F1F |
|---|---|
| RGB | rgb(147, 143, 31) |
| HSL | hsl(58, 65%, 35%) |
| HSV | hsv(58, 79%, 58%) |
| CMYK | cmyk(0%, 2.7%, 78.9%, 42.4%) |
| CIE-LAB | lab(57.99, -11.44, 55.28) |
| CIE-LCH | lch(57.99, 56.45, 101.69°) |
| OKLab | oklab(63.39% -0.0377 0.1205) |
| OKLCH | oklch(63.39% 0.126 107.4) |
| XYZ | xyz(22.1033, 25.9477, 5.1402) |
| Luminance | 0.2595 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 4.29
Pea Soup
#929901
ΔE00 4.30
Baby Shit Green
#889717
ΔE00 5.14
Olive
#808000
ΔE00 5.86
Vomit
#A2A415
ΔE00 6.90
Baby Poo
#AB9004
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#938F1F #1F2393
analogous
#93551F #938F1F #5D931F
triadic
#938F1F #1F938F #8F1F93
tetradic
#938F1F #1F9355 #1F2393 #931F5D
square
#938F1F #1F9355 #1F2393 #931F5D
split-complementary
#938F1F #1F5D93 #551F93
monochromatic
#2E2D0A #605E14 #938F1F #C6C02A #DAD652
Accessibility & contrast
On white
3.39
#938F1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.19
#938F1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #938F1F
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##938F1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##938F1F | 1.00 | 3.39 | 6.19 | 6.19 |
| #FFFFFF | 3.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#9E8D28
Tritanopia (blue-blind)
#9E857A
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #938f1f; /* rgb */ color: rgb(147, 143, 31); /* oklch */ color: oklch(63.4% 0.126 107.4);
Tailwind
colors: {
custom: {
50: '#b6af65',
500: '#938f1f',
950: '#000000',
},
}SCSS
$custom: #938f1f; $custom-light: #b6af65; $custom-dark: #000000;
JSON
{
"hex": "#938f1f",
"rgb": {
"r": 147,
"g": 143,
"b": 31
},
"hsl": {
"h": 57.931,
"s": 65.169,
"l": 34.902
},
"oklch": {
"l": 0.6339,
"c": 0.1262,
"h": 107.4
},
"luminance": 0.25947
}Semantic roles & 50–950 ramp
primary
#938F1F
secondary
#5054BE
accent
#45E840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A