#908E1F#908E1F
#908E1F is a light, vivid yellow. Relative luminance 0.254; OKLCH L 62.9% C 0.126 H 108.5°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #908E1F |
|---|---|
| RGB | rgb(144, 142, 31) |
| HSL | hsl(59, 65%, 34%) |
| HSV | hsv(59, 78%, 56%) |
| CMYK | cmyk(0%, 1.4%, 78.5%, 43.5%) |
| CIE-LAB | lab(57.44, -12.26, 54.69) |
| CIE-LCH | lch(57.44, 56.05, 102.64°) |
| OKLab | oklab(62.89% -0.0398 0.1193) |
| OKLCH | oklch(62.89% 0.126 108.5) |
| XYZ | xyz(21.4228, 25.3749, 5.0654) |
| Luminance | 0.2537 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 4.23
Pea Soup
#929901
ΔE00 4.38
Baby Shit Green
#889717
ΔE00 4.80
Olive
#808000
ΔE00 5.34
Swamp Green
#748500
ΔE00 6.74
Shit Green
#758000
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#908E1F #1F2190
analogous
#90561F #908E1F #5A901F
triadic
#908E1F #1F908E #8E1F90
tetradic
#908E1F #1F9056 #1F2190 #901F5A
square
#908E1F #1F9056 #1F2190 #901F5A
split-complementary
#908E1F #1F5A90 #561F90
monochromatic
#2B2B09 #5E5C14 #908E1F #C2C02A #D9D750
Accessibility & contrast
On white
3.46
#908E1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.07
#908E1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #908E1F
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##908E1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##908E1F | 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)
#9A8801
Deuteranopia (green-blind)
#9C8C28
Tritanopia (blue-blind)
#9B8479
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #908e1f; /* rgb */ color: rgb(144, 142, 31); /* oklch */ color: oklch(62.9% 0.126 108.5);
Tailwind
colors: {
custom: {
50: '#b4ae65',
500: '#908e1f',
950: '#000000',
},
}SCSS
$custom: #908e1f; $custom-light: #b4ae65; $custom-dark: #000000;
JSON
{
"hex": "#908e1f",
"rgb": {
"r": 144,
"g": 142,
"b": 31
},
"hsl": {
"h": 58.938,
"s": 64.571,
"l": 34.314
},
"oklch": {
"l": 0.62889,
"c": 0.12578,
"h": 108.5
},
"luminance": 0.25374
}Semantic roles & 50–950 ramp
primary
#908E1F
secondary
#4E50BC
accent
#43E840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A