#627E22#627E22
#627E22 is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 55.3% C 0.122 H 125.1°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #627E22 |
|---|---|
| RGB | rgb(98, 126, 34) |
| HSL | hsl(78, 58%, 31%) |
| HSV | hsv(78, 73%, 49%) |
| CMYK | cmyk(22.2%, 0%, 73%, 50.6%) |
| CIE-LAB | lab(49.05, -24.18, 44.35) |
| CIE-LCH | lch(49.05, 50.51, 118.61°) |
| OKLab | oklab(55.25% -0.0698 0.0995) |
| OKLCH | oklch(55.25% 0.122 125.1) |
| XYZ | xyz(12.7867, 17.6337, 4.2431) |
| Luminance | 0.1763 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dirty Green
#667E2C
ΔE00 1.49
Avocado
#568203
ΔE00 3.59
Swamp
#698339
ΔE00 3.60
Olive Green
#677A04
ΔE00 3.89
Murky Green
#6C7A0E
ΔE00 4.46
Khaki Green
#728639
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#627E22 #3E227E
analogous
#7E6C22 #627E22 #347E22
triadic
#627E22 #22627E #7E2262
tetradic
#627E22 #227E6C #3E227E #7E2234
square
#627E22 #227E6C #3E227E #7E2234
split-complementary
#627E22 #22347E #6C227E
monochromatic
#171E08 #3D4E15 #627E22 #87AE2F #A7CF4C
Accessibility & contrast
On white
4.64
#627E22 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.53
#627E22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #627E22
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##627E22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##627E22 | 1.00 | 4.64 | 4.53 | 4.64 |
| #FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857613
Deuteranopia (green-blind)
#81742A
Tritanopia (blue-blind)
#67786C
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #627e22; /* rgb */ color: rgb(98, 126, 34); /* oklch */ color: oklch(55.3% 0.122 125.1);
Tailwind
colors: {
custom: {
50: '#92a363',
500: '#627e22',
950: '#000000',
},
}SCSS
$custom: #627e22; $custom-light: #92a363; $custom-dark: #000000;
JSON
{
"hex": "#627e22",
"rgb": {
"r": 98,
"g": 126,
"b": 34
},
"hsl": {
"h": 78.261,
"s": 57.5,
"l": 31.373
},
"oklch": {
"l": 0.55253,
"c": 0.12159,
"h": 125.1
},
"luminance": 0.17634
}Semantic roles & 50–950 ramp
primary
#627E22
secondary
#6A4BB1
accent
#47E176
background
#F9FAF6
surface
#F1F3EB
border
#CBCDC6
text
#0D0F06
muted
#7E7F7A