#647E12#647E12
#647E12 is a mid, vivid yellow-green. Relative luminance 0.177; OKLCH L 55.3% C 0.130 H 123.3°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #647E12 |
|---|---|
| RGB | rgb(100, 126, 18) |
| HSL | hsl(74, 75%, 28%) |
| HSV | hsv(74, 86%, 49%) |
| CMYK | cmyk(20.6%, 0%, 85.7%, 50.6%) |
| CIE-LAB | lab(49.10, -24.14, 49.83) |
| CIE-LCH | lch(49.10, 55.37, 115.85°) |
| OKLab | oklab(55.3% -0.0711 0.1083) |
| OKLCH | oklch(55.3% 0.13 123.3) |
| XYZ | xyz(12.8257, 17.6746, 3.3080) |
| Luminance | 0.1767 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Olive Green
#677A04
ΔE00 2.28
Murky Green
#6C7A0E
ΔE00 3.10
Dirty Green
#667E2C
ΔE00 3.11
Avocado
#568203
ΔE00 3.50
Poop Green
#6F7C00
ΔE00 3.78
Swamp Green
#748500
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#647E12 #2C127E
analogous
#7E6212 #647E12 #2E7E12
triadic
#647E12 #12647E #7E1264
tetradic
#647E12 #127E62 #2C127E #7E122E
square
#647E12 #127E62 #2C127E #7E122E
split-complementary
#647E12 #122E7E #62127E
monochromatic
#151B04 #39480A #647E12 #8FB41A #B5E12A
Accessibility & contrast
On white
4.63
#647E12 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.54
#647E12 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #647E12
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##647E12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##647E12 | 1.00 | 4.63 | 4.54 | 4.63 |
| #FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867500
Deuteranopia (green-blind)
#82751E
Tritanopia (blue-blind)
#6A776B
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #647e12; /* rgb */ color: rgb(100, 126, 18); /* oklch */ color: oklch(55.3% 0.130 123.3);
Tailwind
colors: {
custom: {
50: '#94a35c',
500: '#647e12',
950: '#000000',
},
}SCSS
$custom: #647e12; $custom-light: #94a35c; $custom-dark: #000000;
JSON
{
"hex": "#647e12",
"rgb": {
"r": 100,
"g": 126,
"b": 18
},
"hsl": {
"h": 74.444,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.55302,
"c": 0.12956,
"h": 123.3
},
"luminance": 0.17675
}Semantic roles & 50–950 ramp
primary
#647E12
secondary
#5638B4
accent
#36F263
background
#F9FAF5
surface
#F2F3E9
border
#CCCDC5
text
#0E0F05
muted
#7E7F79