#9E912A#9E912A
#9E912A is a light, vivid yellow. Relative luminance 0.277; OKLCH L 64.9% C 0.120 H 101.9°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #9E912A |
|---|---|
| RGB | rgb(158, 145, 42) |
| HSL | hsl(53, 58%, 39%) |
| HSV | hsv(53, 73%, 62%) |
| CMYK | cmyk(0%, 8.2%, 73.4%, 38%) |
| CIE-LAB | lab(59.61, -7.05, 53.26) |
| CIE-LCH | lch(59.61, 53.73, 97.54°) |
| OKLab | oklab(64.94% -0.0249 0.1179) |
| OKLCH | oklch(64.94% 0.12 101.9) |
| XYZ | xyz(24.6450, 27.6881, 6.2362) |
| Luminance | 0.2769 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 4.91
Baby Shit Brown
#AD900D
ΔE00 5.27
Brown Yellow
#B29705
ΔE00 5.78
Dark Mustard
#A88905
ΔE00 5.98
Pea Soup
#929901
ΔE00 6.15
Diarrhea
#9F8303
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E912A #2A379E
analogous
#9E572A #9E912A #719E2A
triadic
#9E912A #2A9E91 #912A9E
tetradic
#9E912A #2A9E57 #2A379E #9E2A71
square
#9E912A #2A9E57 #2A379E #9E2A71
split-complementary
#9E912A #2A719E #572A9E
monochromatic
#3D3810 #6E651D #9E912A #CBBB3A #D8CB6B
Accessibility & contrast
On white
3.21
#9E912A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.54
#9E912A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E912A
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E912A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E912A | 1.00 | 3.21 | 6.54 | 6.54 |
| #FFFFFF | 3.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9F8C18
Deuteranopia (green-blind)
#A39231
Tritanopia (blue-blind)
#AA867D
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #9e912a; /* rgb */ color: rgb(158, 145, 42); /* oklch */ color: oklch(64.9% 0.120 101.9);
Tailwind
colors: {
custom: {
50: '#beb06b',
500: '#9e912a',
950: '#000000',
},
}SCSS
$custom: #9e912a; $custom-light: #beb06b; $custom-dark: #000000;
JSON
{
"hex": "#9e912a",
"rgb": {
"r": 158,
"g": 145,
"b": 42
},
"hsl": {
"h": 53.276,
"s": 58,
"l": 39.216
},
"oklch": {
"l": 0.64937,
"c": 0.12045,
"h": 101.9
},
"luminance": 0.27687
}Semantic roles & 50–950 ramp
primary
#9E912A
secondary
#6670BE
accent
#58E147
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A