#647F18#647F18
#647F18 is a mid, vivid yellow-green. Relative luminance 0.180; OKLCH L 55.6% C 0.128 H 123.9°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #647F18 |
|---|---|
| RGB | rgb(100, 127, 24) |
| HSL | hsl(76, 68%, 30%) |
| HSV | hsv(76, 81%, 50%) |
| CMYK | cmyk(21.3%, 0%, 81.1%, 50.2%) |
| CIE-LAB | lab(49.44, -24.39, 48.38) |
| CIE-LCH | lch(49.44, 54.18, 116.76°) |
| OKLab | oklab(55.59% -0.0714 0.1062) |
| OKLCH | oklch(55.59% 0.128 123.9) |
| XYZ | xyz(13.0099, 17.9539, 3.6440) |
| Luminance | 0.1795 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dirty Green
#667E2C
ΔE00 2.62
Olive Green
#677A04
ΔE00 2.90
Avocado
#568203
ΔE00 3.28
Murky Green
#6C7A0E
ΔE00 3.59
Poop Green
#6F7C00
ΔE00 4.28
Swamp
#698339
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#647F18 #33187F
analogous
#7F6718 #647F18 #317F18
triadic
#647F18 #18647F #7F1864
tetradic
#647F18 #187F67 #33187F #7F1831
square
#647F18 #187F67 #33187F #7F1831
split-complementary
#647F18 #18317F #67187F
monochromatic
#141A05 #3B4C0E #647F18 #8DB222 #AFD938
Accessibility & contrast
On white
4.57
#647F18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#647F18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #647F18
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##647F18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##647F18 | 1.00 | 4.57 | 4.59 | 4.59 |
| #FFFFFF | 4.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#837523
Tritanopia (blue-blind)
#69786C
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #647f18; /* rgb */ color: rgb(100, 127, 24); /* oklch */ color: oklch(55.6% 0.128 123.9);
Tailwind
colors: {
custom: {
50: '#93a45f',
500: '#647f18',
950: '#000000',
},
}SCSS
$custom: #647f18; $custom-light: #93a45f; $custom-dark: #000000;
JSON
{
"hex": "#647f18",
"rgb": {
"r": 100,
"g": 127,
"b": 24
},
"hsl": {
"h": 75.728,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.55586,
"c": 0.12798,
"h": 123.9
},
"luminance": 0.17954
}Semantic roles & 50–950 ramp
primary
#647F18
secondary
#5E3FB3
accent
#3DEB6A
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0D0F05
muted
#7E7F79