#647D1F#647D1F
#647D1F is a mid, vivid yellow-green. Relative luminance 0.175; OKLCH L 55.1% C 0.121 H 123.5°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #647D1F |
|---|---|
| RGB | rgb(100, 125, 31) |
| HSL | hsl(76, 60%, 31%) |
| HSV | hsv(76, 75%, 49%) |
| CMYK | cmyk(20%, 0%, 75.2%, 51%) |
| CIE-LAB | lab(48.85, -23.01, 45.37) |
| CIE-LCH | lch(48.85, 50.87, 116.89°) |
| OKLab | oklab(55.13% -0.067 0.1011) |
| OKLCH | oklch(55.13% 0.121 123.5) |
| XYZ | xyz(12.8366, 17.4754, 3.9929) |
| Luminance | 0.1747 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dirty Green
#667E2C
ΔE00 1.76
Olive Green
#677A04
ΔE00 3.06
Murky Green
#6C7A0E
ΔE00 3.59
Avocado
#568203
ΔE00 3.97
Swamp
#698339
ΔE00 4.11
Poop Green
#6F7C00
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#647D1F #381F7D
analogous
#7D671F #647D1F #357D1F
triadic
#647D1F #1F647D #7D1F64
tetradic
#647D1F #1F7D67 #381F7D #7D1F35
square
#647D1F #1F7D67 #381F7D #7D1F35
split-complementary
#647D1F #1F357D #671F7D
monochromatic
#161B07 #3D4C13 #647D1F #8BAE2B #ACD145
Accessibility & contrast
On white
4.67
#647D1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#647D1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #647D1F
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##647D1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##647D1F | 1.00 | 4.67 | 4.50 | 4.67 |
| #FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84750D
Deuteranopia (green-blind)
#817427
Tritanopia (blue-blind)
#69776B
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #647d1f; /* rgb */ color: rgb(100, 125, 31); /* oklch */ color: oklch(55.1% 0.121 123.5);
Tailwind
colors: {
custom: {
50: '#93a262',
500: '#647d1f',
950: '#000000',
},
}SCSS
$custom: #647d1f; $custom-light: #93a262; $custom-dark: #000000;
JSON
{
"hex": "#647d1f",
"rgb": {
"r": 100,
"g": 125,
"b": 31
},
"hsl": {
"h": 75.957,
"s": 60.256,
"l": 30.588
},
"oklch": {
"l": 0.55125,
"c": 0.12131,
"h": 123.5
},
"luminance": 0.17475
}Semantic roles & 50–950 ramp
primary
#647D1F
secondary
#6348B0
accent
#44E36F
background
#F9FAF6
surface
#F2F3EB
border
#CCCDC6
text
#0D0F05
muted
#7E7F7A