#9CAF27#9CAF27
#9CAF27 is a light, vivid yellow. Relative luminance 0.379; OKLCH L 71.5% C 0.154 H 117.6°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).
Color values
| HEX | #9CAF27 |
|---|---|
| RGB | rgb(156, 175, 39) |
| HSL | hsl(68, 64%, 42%) |
| HSV | hsv(68, 78%, 69%) |
| CMYK | cmyk(10.9%, 0%, 77.7%, 31.4%) |
| CIE-LAB | lab(67.93, -23.58, 62.07) |
| CIE-LCH | lch(67.93, 66.40, 110.81°) |
| OKLab | oklab(71.55% -0.0712 0.136) |
| OKLCH | oklch(71.55% 0.154 117.6) |
| XYZ | xyz(29.4072, 37.8747, 7.6804) |
| Luminance | 0.3787 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 1.64
Barf Green
#94AC02
ΔE00 2.02
Sickly Green
#94B21C
ΔE00 2.22
Booger Green
#96B403
ΔE00 2.66
Pea Green
#8EAB12
ΔE00 2.67
Icky Green
#8FAE22
ΔE00 2.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9CAF27 #3A27AF
analogous
#AF7E27 #9CAF27 #58AF27
triadic
#9CAF27 #279CAF #AF279C
tetradic
#9CAF27 #27AF7E #3A27AF #AF2758
square
#9CAF27 #27AF7E #3A27AF #AF2758
split-complementary
#9CAF27 #2758AF #7E27AF
monochromatic
#434B11 #6F7D1C #9CAF27 #BFD43F #D0DF71
Accessibility & contrast
On white
2.45
#9CAF27 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.57
#9CAF27 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9CAF27
8.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9CAF27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9CAF27 | 1.00 | 2.45 | 8.57 | 8.57 |
| #FFFFFF | 2.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA500
Deuteranopia (green-blind)
#B9A634
Tritanopia (blue-blind)
#A6A596
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #9caf27; /* rgb */ color: rgb(156, 175, 39); /* oklch */ color: oklch(71.5% 0.154 117.6);
Tailwind
colors: {
custom: {
50: '#bdc66d',
500: '#9caf27',
950: '#000000',
},
}SCSS
$custom: #9caf27; $custom-light: #bdc66d; $custom-dark: #000000;
JSON
{
"hex": "#9caf27",
"rgb": {
"r": 156,
"g": 175,
"b": 39
},
"hsl": {
"h": 68.382,
"s": 63.551,
"l": 41.961
},
"oklch": {
"l": 0.71546,
"c": 0.15352,
"h": 117.6
},
"luminance": 0.37874
}Semantic roles & 50–950 ramp
primary
#9CAF27
secondary
#786BC6
accent
#41E758
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121308
muted
#81827B