#908F2F#908F2F
#908F2F is a light, moderate yellow. Relative luminance 0.258; OKLCH L 63.2% C 0.117 H 108.7°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #908F2F |
|---|---|
| RGB | rgb(144, 143, 47) |
| HSL | hsl(59, 51%, 37%) |
| HSV | hsv(59, 67%, 56%) |
| CMYK | cmyk(0%, 0.7%, 67.4%, 43.5%) |
| CIE-LAB | lab(57.83, -11.98, 49.07) |
| CIE-LCH | lch(57.83, 50.51, 103.73°) |
| OKLab | oklab(63.23% -0.0374 0.1104) |
| OKLCH | oklch(63.23% 0.117 108.7) |
| XYZ | xyz(21.8379, 25.7801, 6.5145) |
| Luminance | 0.2578 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Green
#889717
ΔE00 4.90
Baby Poop Green
#8F9805
ΔE00 4.90
Pea Soup
#929901
ΔE00 5.14
Olive
#808000
ΔE00 6.10
Drab
#828344
ΔE00 6.84
Swamp Green
#748500
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#908F2F #2F3090
analogous
#905E2F #908F2F #61902F
triadic
#908F2F #2F908F #8F2F90
tetradic
#908F2F #2F905E #2F3090 #902F61
square
#908F2F #2F905E #2F3090 #902F61
split-complementary
#908F2F #2F6190 #5E2F90
monochromatic
#343311 #626120 #908F2F #BEBD3E #CFCE6B
Accessibility & contrast
On white
3.41
#908F2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.16
#908F2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #908F2F
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##908F2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##908F2F | 1.00 | 3.41 | 6.16 | 6.16 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8922
Deuteranopia (green-blind)
#9C8C35
Tritanopia (blue-blind)
#9A867C
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #908f2f; /* rgb */ color: rgb(144, 143, 47); /* oklch */ color: oklch(63.2% 0.117 108.7);
Tailwind
colors: {
custom: {
50: '#b3af6d',
500: '#908f2f',
950: '#000000',
},
}SCSS
$custom: #908f2f; $custom-light: #b3af6d; $custom-dark: #000000;
JSON
{
"hex": "#908f2f",
"rgb": {
"r": 144,
"g": 143,
"b": 47
},
"hsl": {
"h": 59.381,
"s": 50.785,
"l": 37.451
},
"oklch": {
"l": 0.63232,
"c": 0.11654,
"h": 108.7
},
"luminance": 0.25779
}Semantic roles & 50–950 ramp
primary
#908F2F
secondary
#6566B6
accent
#4FDA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A