#908E4F#908E4F
#908E4F is a light, moderate yellow. Relative luminance 0.258; OKLCH L 63.4% C 0.085 H 107.0°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #908E4F |
|---|---|
| RGB | rgb(144, 142, 79) |
| HSL | hsl(58, 29%, 44%) |
| HSV | hsv(58, 45%, 56%) |
| CMYK | cmyk(0%, 1.4%, 45.1%, 43.5%) |
| CIE-LAB | lab(57.89, -8.77, 33.70) |
| CIE-LCH | lch(57.89, 34.82, 104.59°) |
| OKLab | oklab(63.39% -0.0248 0.081) |
| OKLCH | oklch(63.39% 0.085 107) |
| XYZ | xyz(22.5863, 25.8404, 11.1935) |
| Luminance | 0.2584 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 3.67
Drab
#828344
ΔE00 4.31
Camo
#7F8F4E
ΔE00 5.41
Moss Green
#8A9A5B
ΔE00 6.11
Khaki (survey)
#AAA662
ΔE00 7.84
Khaki Green
#728639
ΔE00 7.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#908E4F #4F5190
analogous
#906D4F #908E4F #71904F
triadic
#908E4F #4F908E #8E4F90
tetradic
#908E4F #4F906D #4F5190 #904F71
square
#908E4F #4F906D #4F5190 #904F71
split-complementary
#908E4F #4F7190 #6D4F90
monochromatic
#414024 #686739 #908E4F #AFAD6D #C5C395
Accessibility & contrast
On white
3.40
#908E4F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.17
#908E4F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #908E4F
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##908E4F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##908E4F | 1.00 | 3.40 | 6.17 | 6.17 |
| #FFFFFF | 3.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#978A4A
Deuteranopia (green-blind)
#998C52
Tritanopia (blue-blind)
#98877F
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #908e4f; /* rgb */ color: rgb(144, 142, 79); /* oklch */ color: oklch(63.4% 0.085 107.0);
Tailwind
colors: {
custom: {
50: '#b2ae81',
500: '#908e4f',
950: '#000000',
},
}SCSS
$custom: #908e4f; $custom-light: #b2ae81; $custom-dark: #000000;
JSON
{
"hex": "#908e4f",
"rgb": {
"r": 144,
"g": 142,
"b": 79
},
"hsl": {
"h": 58.154,
"s": 29.148,
"l": 43.725
},
"oklch": {
"l": 0.63388,
"c": 0.08474,
"h": 107
},
"luminance": 0.2584
}Semantic roles & 50–950 ramp
primary
#908E4F
secondary
#898BB1
accent
#65C562
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#11100A
muted
#807F7C