#8F9462#8F9462
#8F9462 is a light, moderate yellow. Relative luminance 0.279; OKLCH L 65.0% C 0.070 H 113.0°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #8F9462 |
|---|---|
| RGB | rgb(143, 148, 98) |
| HSL | hsl(66, 20%, 48%) |
| HSV | hsv(66, 34%, 58%) |
| CMYK | cmyk(3.4%, 0%, 33.8%, 42%) |
| CIE-LAB | lab(59.80, -10.16, 25.89) |
| CIE-LCH | lch(59.80, 27.81, 111.43°) |
| OKLab | oklab(64.99% -0.0272 0.0642) |
| OKLCH | oklch(64.99% 0.07 113) |
| XYZ | xyz(24.1223, 27.9016, 15.6677) |
| Luminance | 0.2790 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Moss Green
#8A9A5B
ΔE00 4.04
Camo
#7F8F4E
ΔE00 5.01
Dark Khaki
#9B8F55
ΔE00 6.19
Drab
#828344
ΔE00 6.94
Drab Green
#749551
ΔE00 7.74
Khaki (survey)
#AAA662
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F9462 #676294
analogous
#948062 #8F9462 #769462
triadic
#8F9462 #628F94 #94628F
tetradic
#8F9462 #629480 #676294 #946276
square
#8F9462 #629480 #676294 #946276
split-complementary
#8F9462 #627694 #806294
monochromatic
#484A31 #6B6F4A #8F9462 #AAAE85 #C4C7AA
Accessibility & contrast
On white
3.19
#8F9462 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.58
#8F9462 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F9462
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F9462 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F9462 | 1.00 | 3.19 | 6.58 | 6.58 |
| #FFFFFF | 3.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8F5E
Deuteranopia (green-blind)
#9B9164
Tritanopia (blue-blind)
#958E87
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #8f9462; /* rgb */ color: rgb(143, 148, 98); /* oklch */ color: oklch(65.0% 0.070 113.0);
Tailwind
colors: {
custom: {
50: '#b0b38f',
500: '#8f9462',
950: '#000000',
},
}SCSS
$custom: #8f9462; $custom-light: #b0b38f; $custom-dark: #000000;
JSON
{
"hex": "#8f9462",
"rgb": {
"r": 143,
"g": 148,
"b": 98
},
"hsl": {
"h": 66,
"s": 20.325,
"l": 48.235
},
"oklch": {
"l": 0.64986,
"c": 0.06971,
"h": 113
},
"luminance": 0.27901
}Semantic roles & 50–950 ramp
primary
#8F9462
secondary
#9F9DB5
accent
#6BBD73
background
#FAFBF8
surface
#F5F6F0
border
#CFD0CB
text
#10110C
muted
#7F807D