#627D1F#627D1F
#627D1F is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 55.0% C 0.122 H 124.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #627D1F |
|---|---|
| RGB | rgb(98, 125, 31) |
| HSL | hsl(77, 60%, 31%) |
| HSV | hsv(77, 75%, 49%) |
| CMYK | cmyk(21.6%, 0%, 75.2%, 51%) |
| CIE-LAB | lab(48.71, -23.87, 45.19) |
| CIE-LCH | lch(48.71, 51.10, 117.85°) |
| OKLab | oklab(54.98% -0.0693 0.1008) |
| OKLCH | oklch(54.98% 0.122 124.5) |
| XYZ | xyz(12.6181, 17.3627, 3.9826) |
| Luminance | 0.1736 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dirty Green
#667E2C
ΔE00 1.76
Olive Green
#677A04
ΔE00 3.41
Avocado
#568203
ΔE00 3.66
Murky Green
#6C7A0E
ΔE00 4.03
Swamp
#698339
ΔE00 4.06
Khaki Green
#728639
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#627D1F #3A1F7D
analogous
#7D691F #627D1F #337D1F
triadic
#627D1F #1F627D #7D1F62
tetradic
#627D1F #1F7D69 #3A1F7D #7D1F33
square
#627D1F #1F7D69 #3A1F7D #7D1F33
split-complementary
#627D1F #1F337D #691F7D
monochromatic
#151B07 #3C4C13 #627D1F #88AE2B #A9D145
Accessibility & contrast
On white
4.70
#627D1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.47
#627D1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #627D1F
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##627D1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##627D1F | 1.00 | 4.70 | 4.47 | 4.70 |
| #FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84750D
Deuteranopia (green-blind)
#817327
Tritanopia (blue-blind)
#67776B
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #627d1f; /* rgb */ color: rgb(98, 125, 31); /* oklch */ color: oklch(55.0% 0.122 124.5);
Tailwind
colors: {
custom: {
50: '#92a262',
500: '#627d1f',
950: '#000000',
},
}SCSS
$custom: #627d1f; $custom-light: #92a262; $custom-dark: #000000;
JSON
{
"hex": "#627d1f",
"rgb": {
"r": 98,
"g": 125,
"b": 31
},
"hsl": {
"h": 77.234,
"s": 60.256,
"l": 30.588
},
"oklch": {
"l": 0.54976,
"c": 0.12229,
"h": 124.5
},
"luminance": 0.17363
}Semantic roles & 50–950 ramp
primary
#627D1F
secondary
#6648B0
accent
#44E372
background
#F9FAF6
surface
#F1F3EB
border
#CBCDC6
text
#0D0F05
muted
#7E7F7A