#8F9155#8F9155
#8F9155 is a light, moderate yellow. Relative luminance 0.267; OKLCH L 64.1% C 0.082 H 110.2°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #8F9155 |
|---|---|
| RGB | rgb(143, 145, 85) |
| HSL | hsl(62, 26%, 45%) |
| HSV | hsv(62, 41%, 57%) |
| CMYK | cmyk(1.4%, 0%, 41.4%, 43.1%) |
| CIE-LAB | lab(58.74, -10.15, 31.56) |
| CIE-LCH | lch(58.74, 33.15, 107.84°) |
| OKLab | oklab(64.08% -0.0281 0.0766) |
| OKLCH | oklch(64.08% 0.082 110.2) |
| XYZ | xyz(23.0931, 26.7467, 12.5387) |
| Luminance | 0.2675 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Camo
#7F8F4E
ΔE00 4.40
Moss Green
#8A9A5B
ΔE00 4.53
Dark Khaki
#9B8F55
ΔE00 4.69
Drab
#828344
ΔE00 5.09
Khaki (survey)
#AAA662
ΔE00 7.39
Khaki Green
#728639
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F9155 #575591
analogous
#917555 #8F9155 #719155
triadic
#8F9155 #558F91 #91558F
tetradic
#8F9155 #559175 #575591 #915571
square
#8F9155 #559175 #575591 #915571
split-complementary
#8F9155 #557191 #755591
monochromatic
#434428 #696A3E #8F9155 #ACAE75 #C3C59C
Accessibility & contrast
On white
3.31
#8F9155 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.35
#8F9155 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F9155
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F9155 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F9155 | 1.00 | 3.31 | 6.35 | 6.35 |
| #FFFFFF | 3.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8C50
Deuteranopia (green-blind)
#9A8E58
Tritanopia (blue-blind)
#968A82
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #8f9155; /* rgb */ color: rgb(143, 145, 85); /* oklch */ color: oklch(64.1% 0.082 110.2);
Tailwind
colors: {
custom: {
50: '#b1b186',
500: '#8f9155',
950: '#000000',
},
}SCSS
$custom: #8f9155; $custom-light: #b1b186; $custom-dark: #000000;
JSON
{
"hex": "#8f9155",
"rgb": {
"r": 143,
"g": 145,
"b": 85
},
"hsl": {
"h": 62,
"s": 26.087,
"l": 45.098
},
"oklch": {
"l": 0.64075,
"c": 0.08163,
"h": 110.2
},
"luminance": 0.26746
}Semantic roles & 50–950 ramp
primary
#8F9155
secondary
#9190B2
accent
#65C268
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#11100B
muted
#807F7C