#627E18#627E18
#627E18 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 | #627E18 |
|---|---|
| RGB | rgb(98, 126, 24) |
| HSL | hsl(76, 68%, 29%) |
| HSV | hsv(76, 81%, 49%) |
| CMYK | cmyk(22.2%, 0%, 81%, 50.6%) |
| CIE-LAB | lab(48.99, -24.75, 47.91) |
| CIE-LCH | lch(48.99, 53.93, 117.32°) |
| OKLab | oklab(55.18% -0.0722 0.1053) |
| OKLCH | oklch(55.18% 0.128 124.4) |
| XYZ | xyz(12.6629, 17.5842, 3.5909) |
| Luminance | 0.1758 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dirty Green
#667E2C
ΔE00 2.52
Olive Green
#677A04
ΔE00 2.99
Avocado
#568203
ΔE00 3.14
Murky Green
#6C7A0E
ΔE00 3.77
Poop Green
#6F7C00
ΔE00 4.58
Swamp
#698339
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#627E18 #34187E
analogous
#7E6718 #627E18 #2F7E18
triadic
#627E18 #18627E #7E1862
tetradic
#627E18 #187E67 #34187E #7E182F
square
#627E18 #187E67 #34187E #7E182F
split-complementary
#627E18 #182F7E #67187E
monochromatic
#141A05 #3A4B0E #627E18 #8AB122 #ADD937
Accessibility & contrast
On white
4.65
#627E18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.52
#627E18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #627E18
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##627E18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##627E18 | 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: #627e18; /* rgb */ color: rgb(98, 126, 24); /* oklch */ color: oklch(55.2% 0.128 124.4);
Tailwind
colors: {
custom: {
50: '#92a35f',
500: '#627e18',
950: '#000000',
},
}SCSS
$custom: #627e18; $custom-light: #92a35f; $custom-dark: #000000;
JSON
{
"hex": "#627e18",
"rgb": {
"r": 98,
"g": 126,
"b": 24
},
"hsl": {
"h": 76.471,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.55185,
"c": 0.12771,
"h": 124.4
},
"luminance": 0.17584
}Semantic roles & 50–950 ramp
primary
#627E18
secondary
#5F3FB2
accent
#3DEB6D
background
#F9FAF5
surface
#F2F3EA
border
#CCCDC6
text
#0D0F05
muted
#7E7F79