#8A903B#8A903B
#8A903B is a light, moderate yellow. Relative luminance 0.257; OKLCH L 63.1% C 0.109 H 112.8°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #8A903B |
|---|---|
| RGB | rgb(138, 144, 59) |
| HSL | hsl(64, 42%, 40%) |
| HSV | hsv(64, 59%, 56%) |
| CMYK | cmyk(4.2%, 0%, 59%, 43.5%) |
| CIE-LAB | lab(57.72, -14.31, 43.43) |
| CIE-LCH | lch(57.72, 45.73, 108.24°) |
| OKLab | oklab(63.06% -0.0423 0.1004) |
| OKLCH | oklch(63.06% 0.109 112.8) |
| XYZ | xyz(21.2444, 25.6660, 7.9717) |
| Luminance | 0.2567 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Green
#889717
ΔE00 5.04
Camo
#7F8F4E
ΔE00 5.18
Drab
#828344
ΔE00 5.60
Baby Poop Green
#8F9805
ΔE00 6.08
Khaki Green
#728639
ΔE00 6.27
Moss Green
#8A9A5B
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A903B #413B90
analogous
#906B3B #8A903B #60903B
triadic
#8A903B #3B8A90 #903B8A
tetradic
#8A903B #3B906B #413B90 #903B60
square
#8A903B #3B906B #413B90 #903B60
split-complementary
#8A903B #3B6090 #6B3B90
monochromatic
#373917 #606529 #8A903B #B0B851 #C4C97C
Accessibility & contrast
On white
3.42
#8A903B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.13
#8A903B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A903B
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A903B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A903B | 1.00 | 3.42 | 6.13 | 6.13 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8A32
Deuteranopia (green-blind)
#9A8C40
Tritanopia (blue-blind)
#93887E
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #8a903b; /* rgb */ color: rgb(138, 144, 59); /* oklch */ color: oklch(63.1% 0.109 112.8);
Tailwind
colors: {
custom: {
50: '#aeb074',
500: '#8a903b',
950: '#000000',
},
}SCSS
$custom: #8a903b; $custom-light: #aeb074; $custom-dark: #000000;
JSON
{
"hex": "#8a903b",
"rgb": {
"r": 138,
"g": 144,
"b": 59
},
"hsl": {
"h": 64.235,
"s": 41.872,
"l": 39.804
},
"oklch": {
"l": 0.63056,
"c": 0.10892,
"h": 112.8
},
"luminance": 0.25666
}Semantic roles & 50–950 ramp
primary
#8A903B
secondary
#7874B3
accent
#56D25F
background
#FAFAF7
surface
#F5F4ED
border
#CFCEC8
text
#111008
muted
#807F7B