#66B227#66B227
#66B227 is a light, vivid yellow-green. Relative luminance 0.348; OKLCH L 68.8% C 0.183 H 134.6°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #66B227 |
|---|---|
| RGB | rgb(102, 178, 39) |
| HSL | hsl(93, 64%, 43%) |
| HSV | hsv(93, 78%, 70%) |
| CMYK | cmyk(42.7%, 0%, 78.1%, 30.2%) |
| CIE-LAB | lab(65.60, -45.83, 58.74) |
| CIE-LCH | lch(65.60, 74.50, 127.96°) |
| OKLab | oklab(68.82% -0.1285 0.1304) |
| OKLCH | oklch(68.82% 0.183 134.6) |
| XYZ | xyz(21.7657, 34.8108, 7.4914) |
| Luminance | 0.3481 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Kermit Green
#5CB200
ΔE00 1.91
Grass
#5CAC2D
ΔE00 2.42
Nasty Green
#70B23F
ΔE00 2.43
Leaf Green
#5CA904
ΔE00 3.06
Leaf
#71AA34
ΔE00 3.08
Frog Green
#58BC08
ΔE00 3.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#66B227 #7327B2
analogous
#ABB227 #66B227 #27B22E
triadic
#66B227 #2766B2 #B22766
tetradic
#66B227 #27ABB2 #7327B2 #B22E27
square
#66B227 #27ABB2 #7327B2 #B22E27
split-complementary
#66B227 #2E27B2 #B227AB
monochromatic
#2C4E11 #49801C #66B227 #84D541 #A5E073
Accessibility & contrast
On white
2.64
#66B227 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.96
#66B227 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #66B227
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##66B227 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##66B227 | 1.00 | 2.64 | 7.96 | 7.96 |
| #FFFFFF | 2.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#AF9D36
Tritanopia (blue-blind)
#65AB98
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #66b227; /* rgb */ color: rgb(102, 178, 39); /* oklch */ color: oklch(68.8% 0.183 134.6);
Tailwind
colors: {
custom: {
50: '#98c96d',
500: '#66b227',
950: '#000000',
},
}SCSS
$custom: #66b227; $custom-light: #98c96d; $custom-dark: #000000;
JSON
{
"hex": "#66b227",
"rgb": {
"r": 102,
"g": 178,
"b": 39
},
"hsl": {
"h": 92.806,
"s": 64.055,
"l": 42.549
},
"oklch": {
"l": 0.68816,
"c": 0.18304,
"h": 134.6
},
"luminance": 0.34812
}Semantic roles & 50–950 ramp
primary
#66B227
secondary
#9F6DC8
accent
#41E79C
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1308
muted
#7E827B