#908C2B#908C2B
#908C2B is a light, moderate yellow. Relative luminance 0.249; OKLCH L 62.5% C 0.116 H 107.0°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #908C2B |
|---|---|
| RGB | rgb(144, 140, 43) |
| HSL | hsl(58, 54%, 37%) |
| HSV | hsv(58, 70%, 56%) |
| CMYK | cmyk(0%, 2.8%, 70.1%, 43.5%) |
| CIE-LAB | lab(56.94, -10.61, 49.82) |
| CIE-LCH | lch(56.94, 50.93, 102.02°) |
| OKLab | oklab(62.51% -0.034 0.1113) |
| OKLCH | oklch(62.51% 0.116 107) |
| XYZ | xyz(21.3165, 24.8606, 5.9607) |
| Luminance | 0.2486 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 5.30
Baby Poop Green
#8F9805
ΔE00 5.62
Pea Soup
#929901
ΔE00 5.79
Baby Shit Green
#889717
ΔE00 5.83
Drab
#828344
ΔE00 6.71
Swamp Green
#748500
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#908C2B #2B2F90
analogous
#905A2B #908C2B #62902B
triadic
#908C2B #2B908C #8C2B90
tetradic
#908C2B #2B905A #2B2F90 #902B62
square
#908C2B #2B905A #2B2F90 #902B62
split-complementary
#908C2B #2B6290 #5A2B90
monochromatic
#32300F #615E1D #908C2B #BFBA39 #D1CD65
Accessibility & contrast
On white
3.52
#908C2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.97
#908C2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #908C2B
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##908C2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##908C2B | 1.00 | 3.52 | 5.97 | 5.97 |
| #FFFFFF | 3.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#98871C
Deuteranopia (green-blind)
#9A8A32
Tritanopia (blue-blind)
#9B8379
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #908c2b; /* rgb */ color: rgb(144, 140, 43); /* oklch */ color: oklch(62.5% 0.116 107.0);
Tailwind
colors: {
custom: {
50: '#b3ad6b',
500: '#908c2b',
950: '#000000',
},
}SCSS
$custom: #908c2b; $custom-light: #b3ad6b; $custom-dark: #000000;
JSON
{
"hex": "#908c2b",
"rgb": {
"r": 144,
"g": 140,
"b": 43
},
"hsl": {
"h": 57.624,
"s": 54.011,
"l": 36.667
},
"oklch": {
"l": 0.62514,
"c": 0.11634,
"h": 107
},
"luminance": 0.2486
}Semantic roles & 50–950 ramp
primary
#908C2B
secondary
#6063B7
accent
#50DD4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A