#9E862A#9E862A
#9E862A is a light, moderate yellow. Relative luminance 0.245; OKLCH L 62.5% C 0.112 H 94.0°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #9E862A |
|---|---|
| RGB | rgb(158, 134, 42) |
| HSL | hsl(48, 58%, 39%) |
| HSV | hsv(48, 73%, 62%) |
| CMYK | cmyk(0%, 15.2%, 73.4%, 38%) |
| CIE-LAB | lab(56.57, -1.03, 50.30) |
| CIE-LCH | lch(56.57, 50.31, 91.18°) |
| OKLab | oklab(62.53% -0.0078 0.1116) |
| OKLCH | oklch(62.53% 0.112 94) |
| XYZ | xyz(23.0448, 24.4878, 5.7028) |
| Luminance | 0.2449 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.05
Dark Mustard
#A88905
ΔE00 3.90
Baby Poop
#937C00
ΔE00 4.47
Yellowy Brown
#AE8B0C
ΔE00 4.84
Yellowish Brown
#9B7A01
ΔE00 5.04
Baby Shit Brown
#AD900D
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E862A #2A429E
analogous
#9E4C2A #9E862A #7C9E2A
triadic
#9E862A #2A9E86 #862A9E
tetradic
#9E862A #2A9E4C #2A429E #9E2A7C
square
#9E862A #2A9E4C #2A429E #9E2A7C
split-complementary
#9E862A #2A7C9E #4C2A9E
monochromatic
#3D3410 #6E5D1D #9E862A #CBAD3A #D8C16B
Accessibility & contrast
On white
3.56
#9E862A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.90
#9E862A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E862A
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E862A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E862A | 1.00 | 3.56 | 5.90 | 5.90 |
| #FFFFFF | 3.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#94841C
Deuteranopia (green-blind)
#9B8B2F
Tritanopia (blue-blind)
#AB7B74
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #9e862a; /* rgb */ color: rgb(158, 134, 42); /* oklch */ color: oklch(62.5% 0.112 94.0);
Tailwind
colors: {
custom: {
50: '#bea86a',
500: '#9e862a',
950: '#000000',
},
}SCSS
$custom: #9e862a; $custom-light: #bea86a; $custom-dark: #000000;
JSON
{
"hex": "#9e862a",
"rgb": {
"r": 158,
"g": 134,
"b": 42
},
"hsl": {
"h": 47.586,
"s": 58,
"l": 39.216
},
"oklch": {
"l": 0.62534,
"c": 0.11184,
"h": 94
},
"luminance": 0.24486
}Semantic roles & 50–950 ramp
primary
#9E862A
secondary
#6678BE
accent
#67E147
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F07
muted
#827F7A