#9C862A#9C862A
#9C862A is a light, moderate yellow. Relative luminance 0.243; OKLCH L 62.3% C 0.112 H 95.3°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #9C862A |
|---|---|
| RGB | rgb(156, 134, 42) |
| HSL | hsl(48, 58%, 39%) |
| HSV | hsv(48, 73%, 61%) |
| CMYK | cmyk(0%, 14.1%, 73.1%, 38.8%) |
| CIE-LAB | lab(56.37, -1.95, 50.03) |
| CIE-LCH | lch(56.37, 50.07, 92.23°) |
| OKLab | oklab(62.33% -0.0103 0.1111) |
| OKLCH | oklch(62.33% 0.112 95.3) |
| XYZ | xyz(22.6545, 24.2865, 5.6845) |
| Luminance | 0.2429 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.29
Dark Mustard
#A88905
ΔE00 4.29
Baby Poop
#937C00
ΔE00 4.35
Yellowish Brown
#9B7A01
ΔE00 5.32
Yellowy Brown
#AE8B0C
ΔE00 5.32
Baby Poo
#AB9004
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C862A #2A409C
analogous
#9C4D2A #9C862A #799C2A
triadic
#9C862A #2A9C86 #862A9C
tetradic
#9C862A #2A9C4D #2A409C #9C2A79
square
#9C862A #2A9C4D #2A409C #9C2A79
split-complementary
#9C862A #2A799C #4D2A9C
monochromatic
#3C3310 #6C5D1D #9C862A #CAAE39 #D7C26A
Accessibility & contrast
On white
3.59
#9C862A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.86
#9C862A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C862A
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C862A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C862A | 1.00 | 3.59 | 5.86 | 5.86 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#94831C
Deuteranopia (green-blind)
#9A8A2F
Tritanopia (blue-blind)
#A97B74
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #9c862a; /* rgb */ color: rgb(156, 134, 42); /* oklch */ color: oklch(62.3% 0.112 95.3);
Tailwind
colors: {
custom: {
50: '#bda86a',
500: '#9c862a',
950: '#000000',
},
}SCSS
$custom: #9c862a; $custom-light: #bda86a; $custom-dark: #000000;
JSON
{
"hex": "#9c862a",
"rgb": {
"r": 156,
"g": 134,
"b": 42
},
"hsl": {
"h": 48.421,
"s": 57.576,
"l": 38.824
},
"oklch": {
"l": 0.6233,
"c": 0.11156,
"h": 95.3
},
"luminance": 0.24285
}Semantic roles & 50–950 ramp
primary
#9C862A
secondary
#6576BD
accent
#65E147
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F07
muted
#817F7A