#627C20#627C20
#627C20 is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.7% C 0.120 H 124.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #627C20 |
|---|---|
| RGB | rgb(98, 124, 32) |
| HSL | hsl(77, 59%, 31%) |
| HSV | hsv(77, 74%, 49%) |
| CMYK | cmyk(21%, 0%, 74.2%, 51.4%) |
| CIE-LAB | lab(48.41, -23.31, 44.50) |
| CIE-LCH | lch(48.41, 50.23, 117.64°) |
| OKLab | oklab(54.73% -0.0676 0.0995) |
| OKLCH | oklch(54.73% 0.12 124.2) |
| XYZ | xyz(12.5055, 17.1161, 4.0111) |
| Luminance | 0.1712 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dirty Green
#667E2C
ΔE00 1.70
Olive Green
#677A04
ΔE00 3.39
Murky Green
#6C7A0E
ΔE00 3.97
Avocado
#568203
ΔE00 4.00
Swamp
#698339
ΔE00 4.12
Muddy Green
#657432
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#627C20 #3A207C
analogous
#7C6820 #627C20 #347C20
triadic
#627C20 #20627C #7C2062
tetradic
#627C20 #207C68 #3A207C #7C2034
square
#627C20 #207C68 #3A207C #7C2034
split-complementary
#627C20 #20347C #68207C
monochromatic
#151B07 #3C4B13 #627C20 #88AD2D #A9CF47
Accessibility & contrast
On white
4.75
#627C20 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#627C20 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #627C20
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##627C20 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##627C20 | 1.00 | 4.75 | 4.42 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837410
Deuteranopia (green-blind)
#807328
Tritanopia (blue-blind)
#67766A
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #627c20; /* rgb */ color: rgb(98, 124, 32); /* oklch */ color: oklch(54.7% 0.120 124.2);
Tailwind
colors: {
custom: {
50: '#92a262',
500: '#627c20',
950: '#000000',
},
}SCSS
$custom: #627c20; $custom-light: #92a262; $custom-dark: #000000;
JSON
{
"hex": "#627c20",
"rgb": {
"r": 98,
"g": 124,
"b": 32
},
"hsl": {
"h": 76.957,
"s": 58.974,
"l": 30.588
},
"oklch": {
"l": 0.54729,
"c": 0.12031,
"h": 124.2
},
"luminance": 0.17116
}Semantic roles & 50–950 ramp
primary
#627C20
secondary
#6649AF
accent
#46E272
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0F05
muted
#7E7E7A