#908E2F#908E2F
#908E2F is a light, moderate yellow. Relative luminance 0.255; OKLCH L 63.0% C 0.115 H 108.1°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #908E2F |
|---|---|
| RGB | rgb(144, 142, 47) |
| HSL | hsl(59, 51%, 37%) |
| HSV | hsv(59, 67%, 56%) |
| CMYK | cmyk(0%, 1.4%, 67.4%, 43.5%) |
| CIE-LAB | lab(57.54, -11.45, 48.77) |
| CIE-LCH | lch(57.54, 50.10, 103.21°) |
| OKLab | oklab(63% -0.0359 0.1098) |
| OKLCH | oklch(63% 0.115 108.1) |
| XYZ | xyz(21.6884, 25.4812, 6.4647) |
| Luminance | 0.2548 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 5.23
Baby Shit Green
#889717
ΔE00 5.26
Pea Soup
#929901
ΔE00 5.45
Olive
#808000
ΔE00 5.88
Drab
#828344
ΔE00 6.64
Dark Khaki
#9B8F55
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#908E2F #2F3190
analogous
#905E2F #908E2F #61902F
triadic
#908E2F #2F908E #8E2F90
tetradic
#908E2F #2F905E #2F3190 #902F61
square
#908E2F #2F905E #2F3190 #902F61
split-complementary
#908E2F #2F6190 #5E2F90
monochromatic
#343311 #626120 #908E2F #BEBB3E #CFCD6B
Accessibility & contrast
On white
3.44
#908E2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.10
#908E2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #908E2F
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##908E2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##908E2F | 1.00 | 3.44 | 6.10 | 6.10 |
| #FFFFFF | 3.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8822
Deuteranopia (green-blind)
#9B8C35
Tritanopia (blue-blind)
#9A857B
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #908e2f; /* rgb */ color: rgb(144, 142, 47); /* oklch */ color: oklch(63.0% 0.115 108.1);
Tailwind
colors: {
custom: {
50: '#b3ae6d',
500: '#908e2f',
950: '#000000',
},
}SCSS
$custom: #908e2f; $custom-light: #b3ae6d; $custom-dark: #000000;
JSON
{
"hex": "#908e2f",
"rgb": {
"r": 144,
"g": 142,
"b": 47
},
"hsl": {
"h": 58.763,
"s": 50.785,
"l": 37.451
},
"oklch": {
"l": 0.63004,
"c": 0.11548,
"h": 108.1
},
"luminance": 0.25481
}Semantic roles & 50–950 ramp
primary
#908E2F
secondary
#6567B6
accent
#50DA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A