#627E17#627E17
#627E17 is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 55.2% C 0.128 H 124.4°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #627E17 |
|---|---|
| RGB | rgb(98, 126, 23) |
| HSL | hsl(76, 69%, 29%) |
| HSV | hsv(76, 82%, 49%) |
| CMYK | cmyk(22.2%, 0%, 81.7%, 50.6%) |
| CIE-LAB | lab(48.98, -24.80, 48.22) |
| CIE-LCH | lch(48.98, 54.23, 117.21°) |
| OKLab | oklab(55.18% -0.0724 0.1058) |
| OKLCH | oklch(55.18% 0.128 124.4) |
| XYZ | xyz(12.6526, 17.5801, 3.5372) |
| Luminance | 0.1758 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dirty Green
#667E2C
ΔE00 2.62
Olive Green
#677A04
ΔE00 2.93
Avocado
#568203
ΔE00 3.12
Murky Green
#6C7A0E
ΔE00 3.72
Poop Green
#6F7C00
ΔE00 4.52
Swamp
#698339
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#627E17 #33177E
analogous
#7E6717 #627E17 #2E7E17
triadic
#627E17 #17627E #7E1762
tetradic
#627E17 #177E67 #33177E #7E172E
square
#627E17 #177E67 #33177E #7E172E
split-complementary
#627E17 #172E7E #67177E
monochromatic
#141A05 #3A4A0E #627E17 #8AB220 #ADDA35
Accessibility & contrast
On white
4.65
#627E17 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.52
#627E17 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #627E17
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##627E17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##627E17 | 1.00 | 4.65 | 4.52 | 4.65 |
| #FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#827422
Tritanopia (blue-blind)
#67776B
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #627e17; /* rgb */ color: rgb(98, 126, 23); /* oklch */ color: oklch(55.2% 0.128 124.4);
Tailwind
colors: {
custom: {
50: '#92a35e',
500: '#627e17',
950: '#000000',
},
}SCSS
$custom: #627e17; $custom-light: #92a35e; $custom-dark: #000000;
JSON
{
"hex": "#627e17",
"rgb": {
"r": 98,
"g": 126,
"b": 23
},
"hsl": {
"h": 76.311,
"s": 69.128,
"l": 29.216
},
"oklch": {
"l": 0.55179,
"c": 0.12822,
"h": 124.4
},
"luminance": 0.1758
}Semantic roles & 50–950 ramp
primary
#627E17
secondary
#5E3EB3
accent
#3CEC6C
background
#F9FAF5
surface
#F2F3EA
border
#CCCDC6
text
#0D0F05
muted
#7E7F79