#668218#668218
#668218 is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.5% C 0.131 H 124.0°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #668218 |
|---|---|
| RGB | rgb(102, 130, 24) |
| HSL | hsl(76, 69%, 30%) |
| HSV | hsv(76, 82%, 51%) |
| CMYK | cmyk(21.5%, 0%, 81.5%, 49%) |
| CIE-LAB | lab(50.52, -25.02, 49.41) |
| CIE-LCH | lch(50.52, 55.39, 116.86°) |
| OKLab | oklab(56.5% -0.0732 0.1084) |
| OKLCH | oklch(56.5% 0.131 124) |
| XYZ | xyz(13.6271, 18.8559, 3.7856) |
| Luminance | 0.1886 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dirty Green
#667E2C
ΔE00 3.15
Avocado
#568203
ΔE00 3.21
Olive Green
#677A04
ΔE00 3.56
Mossy Green
#638B27
ΔE00 3.96
Murky Green
#6C7A0E
ΔE00 4.11
Sap Green
#5C8B15
ΔE00 4.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#668218 #341882
analogous
#826918 #668218 #318218
triadic
#668218 #186682 #821866
tetradic
#668218 #188269 #341882 #821831
square
#668218 #188269 #341882 #821831
split-complementary
#668218 #183182 #691882
monochromatic
#151B05 #3D4E0E #668218 #8FB622 #B0DB3A
Accessibility & contrast
On white
4.40
#668218 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.77
#668218 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #668218
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##668218 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##668218 | 1.00 | 4.40 | 4.77 | 4.77 |
| #FFFFFF | 4.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#867823
Tritanopia (blue-blind)
#6B7B6F
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #668218; /* rgb */ color: rgb(102, 130, 24); /* oklch */ color: oklch(56.5% 0.131 124.0);
Tailwind
colors: {
custom: {
50: '#95a65f',
500: '#668218',
950: '#000000',
},
}SCSS
$custom: #668218; $custom-light: #95a65f; $custom-dark: #000000;
JSON
{
"hex": "#668218",
"rgb": {
"r": 102,
"g": 130,
"b": 24
},
"hsl": {
"h": 75.849,
"s": 68.831,
"l": 30.196
},
"oklch": {
"l": 0.56495,
"c": 0.13078,
"h": 124
},
"luminance": 0.18856
}Semantic roles & 50–950 ramp
primary
#668218
secondary
#5F40B6
accent
#3CEC6B
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79