#627E15#627E15
#627E15 is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 55.2% C 0.129 H 124.3°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #627E15 |
|---|---|
| RGB | rgb(98, 126, 21) |
| HSL | hsl(76, 71%, 29%) |
| HSV | hsv(76, 83%, 49%) |
| CMYK | cmyk(22.2%, 0%, 83.3%, 50.6%) |
| CIE-LAB | lab(48.97, -24.89, 48.82) |
| CIE-LCH | lch(48.97, 54.80, 117.01°) |
| OKLab | oklab(55.17% -0.0728 0.1067) |
| OKLCH | oklch(55.17% 0.129 124.3) |
| XYZ | xyz(12.6334, 17.5724, 3.4356) |
| Luminance | 0.1757 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dirty Green
#667E2C
ΔE00 2.80
Olive Green
#677A04
ΔE00 2.80
Avocado
#568203
ΔE00 3.10
Murky Green
#6C7A0E
ΔE00 3.64
Poop Green
#6F7C00
ΔE00 4.40
Swamp
#698339
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#627E15 #31157E
analogous
#7E6615 #627E15 #2E7E15
triadic
#627E15 #15627E #7E1562
tetradic
#627E15 #157E66 #31157E #7E152E
square
#627E15 #157E66 #31157E #7E152E
split-complementary
#627E15 #152E7E #66157E
monochromatic
#141A04 #394A0C #627E15 #8BB21E #AFDD31
Accessibility & contrast
On white
4.65
#627E15 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#627E15 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #627E15
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##627E15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##627E15 | 1.00 | 4.65 | 4.51 | 4.65 |
| #FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867500
Deuteranopia (green-blind)
#827420
Tritanopia (blue-blind)
#67776B
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #627e15; /* rgb */ color: rgb(98, 126, 21); /* oklch */ color: oklch(55.2% 0.129 124.3);
Tailwind
colors: {
custom: {
50: '#92a35d',
500: '#627e15',
950: '#000000',
},
}SCSS
$custom: #627e15; $custom-light: #92a35d; $custom-dark: #000000;
JSON
{
"hex": "#627e15",
"rgb": {
"r": 98,
"g": 126,
"b": 21
},
"hsl": {
"h": 76,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.55168,
"c": 0.12921,
"h": 124.3
},
"luminance": 0.17573
}Semantic roles & 50–950 ramp
primary
#627E15
secondary
#5C3CB3
accent
#3AEE6A
background
#F9FAF5
surface
#F2F3E9
border
#CCCDC5
text
#0D0F05
muted
#7E7F79