#908F2A#908F2A
#908F2A is a light, vivid yellow. Relative luminance 0.257; OKLCH L 63.2% C 0.120 H 108.8°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #908F2A |
|---|---|
| RGB | rgb(144, 143, 42) |
| HSL | hsl(59, 55%, 36%) |
| HSV | hsv(59, 71%, 56%) |
| CMYK | cmyk(0%, 0.7%, 70.8%, 43.5%) |
| CIE-LAB | lab(57.79, -12.27, 51.06) |
| CIE-LCH | lch(57.79, 52.52, 103.51°) |
| OKLab | oklab(63.19% -0.0388 0.1137) |
| OKLCH | oklch(63.19% 0.12 108.8) |
| XYZ | xyz(21.7428, 25.7420, 6.0134) |
| Luminance | 0.2574 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 4.48
Baby Shit Green
#889717
ΔE00 4.66
Pea Soup
#929901
ΔE00 4.70
Olive
#808000
ΔE00 5.86
Swamp Green
#748500
ΔE00 6.85
Shit Green
#758000
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#908F2A #2A2B90
analogous
#905C2A #908F2A #5E902A
triadic
#908F2A #2A908F #8F2A90
tetradic
#908F2A #2A905C #2A2B90 #902A5E
square
#908F2A #2A905C #2A2B90 #902A5E
split-complementary
#908F2A #2A5E90 #5C2A90
monochromatic
#31310E #61601C #908F2A #BFBE38 #D1D063
Accessibility & contrast
On white
3.42
#908F2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.15
#908F2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #908F2A
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##908F2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##908F2A | 1.00 | 3.42 | 6.15 | 6.15 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B891A
Deuteranopia (green-blind)
#9C8C31
Tritanopia (blue-blind)
#9A867B
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #908f2a; /* rgb */ color: rgb(144, 143, 42); /* oklch */ color: oklch(63.2% 0.120 108.8);
Tailwind
colors: {
custom: {
50: '#b4af6a',
500: '#908f2a',
950: '#000000',
},
}SCSS
$custom: #908f2a; $custom-light: #b4af6a; $custom-dark: #000000;
JSON
{
"hex": "#908f2a",
"rgb": {
"r": 144,
"g": 143,
"b": 42
},
"hsl": {
"h": 59.412,
"s": 54.839,
"l": 36.471
},
"oklch": {
"l": 0.63191,
"c": 0.12014,
"h": 108.8
},
"luminance": 0.25741
}Semantic roles & 50–950 ramp
primary
#908F2A
secondary
#5E5FB7
accent
#4BDE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A