#9EA527#9EA527
#9EA527 is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.4% C 0.142 H 112.8°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #9EA527 |
|---|---|
| RGB | rgb(158, 165, 39) |
| HSL | hsl(63, 62%, 40%) |
| HSV | hsv(63, 76%, 65%) |
| CMYK | cmyk(4.2%, 0%, 76.4%, 35.3%) |
| CIE-LAB | lab(65.22, -17.70, 59.64) |
| CIE-LCH | lch(65.22, 62.21, 106.53°) |
| OKLab | oklab(69.41% -0.055 0.1308) |
| OKLCH | oklch(69.41% 0.142 112.8) |
| XYZ | xyz(27.9228, 34.3265, 7.0738) |
| Luminance | 0.3433 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.98
Pea Soup Green
#94A617
ΔE00 2.59
Puke
#A5A502
ΔE00 3.04
Puke Green
#9AAE07
ΔE00 3.80
Pea Soup
#929901
ΔE00 4.00
Barf Green
#94AC02
ΔE00 4.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9EA527 #2E27A5
analogous
#A56D27 #9EA527 #5FA527
triadic
#9EA527 #279EA5 #A5279E
tetradic
#9EA527 #27A56D #2E27A5 #A5275F
square
#9EA527 #27A56D #2E27A5 #A5275F
split-complementary
#9EA527 #275FA5 #6D27A5
monochromatic
#3F4210 #6F741B #9EA527 #C8D039 #D6DC6A
Accessibility & contrast
On white
2.67
#9EA527 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.87
#9EA527 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9EA527
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9EA527 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9EA527 | 1.00 | 2.67 | 7.87 | 7.87 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29D06
Deuteranopia (green-blind)
#B2A032
Tritanopia (blue-blind)
#A99B8D
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #9ea527; /* rgb */ color: rgb(158, 165, 39); /* oklch */ color: oklch(69.4% 0.142 112.8);
Tailwind
colors: {
custom: {
50: '#bebf6c',
500: '#9ea527',
950: '#000000',
},
}SCSS
$custom: #9ea527; $custom-light: #bebf6c; $custom-dark: #000000;
JSON
{
"hex": "#9ea527",
"rgb": {
"r": 158,
"g": 165,
"b": 39
},
"hsl": {
"h": 63.333,
"s": 61.765,
"l": 40
},
"oklch": {
"l": 0.69411,
"c": 0.1419,
"h": 112.8
},
"luminance": 0.34326
}Semantic roles & 50–950 ramp
primary
#9EA527
secondary
#6B66C2
accent
#43E54C
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A