#627E20#627E20
#627E20 is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 55.2% C 0.123 H 124.9°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #627E20 |
|---|---|
| RGB | rgb(98, 126, 32) |
| HSL | hsl(78, 59%, 31%) |
| HSV | hsv(78, 75%, 49%) |
| CMYK | cmyk(22.2%, 0%, 74.6%, 50.6%) |
| CIE-LAB | lab(49.03, -24.31, 45.12) |
| CIE-LCH | lch(49.03, 51.25, 118.32°) |
| OKLab | oklab(55.24% -0.0704 0.1008) |
| OKLCH | oklch(55.24% 0.123 124.9) |
| XYZ | xyz(12.7587, 17.6225, 4.0955) |
| Luminance | 0.1762 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dirty Green
#667E2C
ΔE00 1.70
Avocado
#568203
ΔE00 3.46
Olive Green
#677A04
ΔE00 3.68
Swamp
#698339
ΔE00 3.82
Murky Green
#6C7A0E
ΔE00 4.29
Khaki Green
#728639
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#627E20 #3C207E
analogous
#7E6B20 #627E20 #337E20
triadic
#627E20 #20627E #7E2062
tetradic
#627E20 #207E6B #3C207E #7E2033
square
#627E20 #207E6B #3C207E #7E2033
split-complementary
#627E20 #20337E #6B207E
monochromatic
#161C07 #3C4D14 #627E20 #88AF2C #A8D048
Accessibility & contrast
On white
4.64
#627E20 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.52
#627E20 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #627E20
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##627E20 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##627E20 | 1.00 | 4.64 | 4.52 | 4.64 |
| #FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#85750F
Deuteranopia (green-blind)
#817428
Tritanopia (blue-blind)
#67786C
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #627e20; /* rgb */ color: rgb(98, 126, 32); /* oklch */ color: oklch(55.2% 0.123 124.9);
Tailwind
colors: {
custom: {
50: '#92a362',
500: '#627e20',
950: '#000000',
},
}SCSS
$custom: #627e20; $custom-light: #92a362; $custom-dark: #000000;
JSON
{
"hex": "#627e20",
"rgb": {
"r": 98,
"g": 126,
"b": 32
},
"hsl": {
"h": 77.872,
"s": 59.494,
"l": 30.98
},
"oklch": {
"l": 0.55238,
"c": 0.12295,
"h": 124.9
},
"luminance": 0.17623
}Semantic roles & 50–950 ramp
primary
#627E20
secondary
#6849B1
accent
#45E374
background
#F9FAF6
surface
#F1F3EB
border
#CBCDC6
text
#0D0F05
muted
#7E7F7A