#908A1F#908A1F
#908A1F is a mid, vivid yellow. Relative luminance 0.242; OKLCH L 62.0% C 0.122 H 106.1°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #908A1F |
|---|---|
| RGB | rgb(144, 138, 31) |
| HSL | hsl(57, 65%, 34%) |
| HSV | hsv(57, 78%, 56%) |
| CMYK | cmyk(0%, 4.2%, 78.5%, 43.5%) |
| CIE-LAB | lab(56.29, -10.12, 53.65) |
| CIE-LCH | lch(56.29, 54.59, 100.68°) |
| OKLab | oklab(61.98% -0.0338 0.1171) |
| OKLCH | oklch(61.98% 0.122 106.1) |
| XYZ | xyz(20.8383, 24.2060, 4.8706) |
| Luminance | 0.2420 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.56
Baby Poop Green
#8F9805
ΔE00 5.80
Pea Soup
#929901
ΔE00 5.90
Baby Shit Green
#889717
ΔE00 6.36
Baby Poop
#937C00
ΔE00 6.70
Shit Green
#758000
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#908A1F #1F2590
analogous
#90521F #908A1F #5E901F
triadic
#908A1F #1F908A #8A1F90
tetradic
#908A1F #1F9052 #1F2590 #901F5E
square
#908A1F #1F9052 #1F2590 #901F5E
split-complementary
#908A1F #1F5E90 #521F90
monochromatic
#2B2909 #5E5A14 #908A1F #C2BA2A #D9D250
Accessibility & contrast
On white
3.60
#908A1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.84
#908A1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #908A1F
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##908A1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##908A1F | 1.00 | 3.60 | 5.84 | 5.84 |
| #FFFFFF | 3.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968504
Deuteranopia (green-blind)
#998928
Tritanopia (blue-blind)
#9B8076
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #908a1f; /* rgb */ color: rgb(144, 138, 31); /* oklch */ color: oklch(62.0% 0.122 106.1);
Tailwind
colors: {
custom: {
50: '#b4ab64',
500: '#908a1f',
950: '#000000',
},
}SCSS
$custom: #908a1f; $custom-light: #b4ab64; $custom-dark: #000000;
JSON
{
"hex": "#908a1f",
"rgb": {
"r": 144,
"g": 138,
"b": 31
},
"hsl": {
"h": 56.814,
"s": 64.571,
"l": 34.314
},
"oklch": {
"l": 0.61975,
"c": 0.12188,
"h": 106.1
},
"luminance": 0.24205
}Semantic roles & 50–950 ramp
primary
#908A1F
secondary
#4E54BC
accent
#49E840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A