#9CA227#9CA227
#9CA227 is a light, vivid yellow. Relative luminance 0.331; OKLCH L 68.6% C 0.139 H 112.4°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).
Color values
| HEX | #9CA227 |
|---|---|
| RGB | rgb(156, 162, 39) |
| HSL | hsl(63, 61%, 39%) |
| HSV | hsv(63, 76%, 64%) |
| CMYK | cmyk(3.7%, 0%, 75.9%, 36.5%) |
| CIE-LAB | lab(64.21, -17.04, 58.64) |
| CIE-LCH | lch(64.21, 61.06, 106.20°) |
| OKLab | oklab(68.56% -0.0531 0.1288) |
| OKLCH | oklch(68.56% 0.139 112.4) |
| XYZ | xyz(26.9977, 33.0557, 6.8773) |
| Luminance | 0.3306 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.17
Pea Soup Green
#94A617
ΔE00 2.90
Pea Soup
#929901
ΔE00 3.29
Puke
#A5A502
ΔE00 3.29
Baby Poop Green
#8F9805
ΔE00 3.63
Vomit Green
#89A203
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9CA227 #2D27A2
analogous
#A26B27 #9CA227 #5FA227
triadic
#9CA227 #279CA2 #A2279C
tetradic
#9CA227 #27A26B #2D27A2 #A2275F
square
#9CA227 #27A26B #2D27A2 #A2275F
split-complementary
#9CA227 #275FA2 #6B27A2
monochromatic
#3D3F0F #6D711B #9CA227 #C8CF37 #D5DB69
Accessibility & contrast
On white
2.76
#9CA227 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.61
#9CA227 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9CA227
7.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9CA227 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9CA227 | 1.00 | 2.76 | 7.61 | 7.61 |
| #FFFFFF | 2.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9A09
Deuteranopia (green-blind)
#AF9D31
Tritanopia (blue-blind)
#A7988B
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #9ca227; /* rgb */ color: rgb(156, 162, 39); /* oklch */ color: oklch(68.6% 0.139 112.4);
Tailwind
colors: {
custom: {
50: '#bdbd6b',
500: '#9ca227',
950: '#000000',
},
}SCSS
$custom: #9ca227; $custom-light: #bdbd6b; $custom-dark: #000000;
JSON
{
"hex": "#9ca227",
"rgb": {
"r": 156,
"g": 162,
"b": 39
},
"hsl": {
"h": 62.927,
"s": 61.194,
"l": 39.412
},
"oklch": {
"l": 0.68559,
"c": 0.13925,
"h": 112.4
},
"luminance": 0.33055
}Semantic roles & 50–950 ramp
primary
#9CA227
secondary
#6864C1
accent
#43E44B
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121207
muted
#81817A