#908A1E#908A1E
#908A1E 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 | #908A1E |
|---|---|
| RGB | rgb(144, 138, 30) |
| HSL | hsl(57, 66%, 34%) |
| HSV | hsv(57, 79%, 56%) |
| CMYK | cmyk(0%, 4.2%, 79.2%, 43.5%) |
| CIE-LAB | lab(56.29, -10.16, 53.97) |
| CIE-LCH | lch(56.29, 54.92, 100.66°) |
| OKLab | oklab(61.97% -0.034 0.1176) |
| OKLCH | oklch(61.97% 0.122 106.1) |
| XYZ | xyz(20.8253, 24.2008, 4.8023) |
| Luminance | 0.2420 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.54
Baby Poop Green
#8F9805
ΔE00 5.77
Pea Soup
#929901
ΔE00 5.86
Baby Shit Green
#889717
ΔE00 6.35
Baby Poop
#937C00
ΔE00 6.68
Shit Green
#758000
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#908A1E #1E2490
analogous
#90511E #908A1E #5D901E
triadic
#908A1E #1E908A #8A1E90
tetradic
#908A1E #1E9051 #1E2490 #901E5D
square
#908A1E #1E9051 #1E2490 #901E5D
split-complementary
#908A1E #1E5D90 #511E90
monochromatic
#2B2909 #5D5913 #908A1E #C3BB29 #DAD34E
Accessibility & contrast
On white
3.60
#908A1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.84
#908A1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #908A1E
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##908A1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##908A1E | 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)
#978501
Deuteranopia (green-blind)
#998927
Tritanopia (blue-blind)
#9B8076
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #908a1e; /* rgb */ color: rgb(144, 138, 30); /* oklch */ color: oklch(62.0% 0.122 106.1);
Tailwind
colors: {
custom: {
50: '#b4ab64',
500: '#908a1e',
950: '#000000',
},
}SCSS
$custom: #908a1e; $custom-light: #b4ab64; $custom-dark: #000000;
JSON
{
"hex": "#908a1e",
"rgb": {
"r": 144,
"g": 138,
"b": 30
},
"hsl": {
"h": 56.842,
"s": 65.517,
"l": 34.118
},
"oklch": {
"l": 0.6197,
"c": 0.12241,
"h": 106.1
},
"luminance": 0.242
}Semantic roles & 50–950 ramp
primary
#908A1E
secondary
#4D53BD
accent
#48E83F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A