#627E16#627E16
#627E16 is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 55.2% C 0.129 H 124.4°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #627E16 |
|---|---|
| RGB | rgb(98, 126, 22) |
| HSL | hsl(76, 70%, 29%) |
| HSV | hsv(76, 83%, 49%) |
| CMYK | cmyk(22.2%, 0%, 82.5%, 50.6%) |
| CIE-LAB | lab(48.98, -24.84, 48.53) |
| CIE-LCH | lch(48.98, 54.52, 117.11°) |
| OKLab | oklab(55.17% -0.0727 0.1063) |
| OKLCH | oklch(55.17% 0.129 124.4) |
| XYZ | xyz(12.6428, 17.5762, 3.4854) |
| Luminance | 0.1758 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dirty Green
#667E2C
ΔE00 2.71
Olive Green
#677A04
ΔE00 2.86
Avocado
#568203
ΔE00 3.11
Murky Green
#6C7A0E
ΔE00 3.68
Poop Green
#6F7C00
ΔE00 4.46
Swamp
#698339
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#627E16 #32167E
analogous
#7E6616 #627E16 #2E7E16
triadic
#627E16 #16627E #7E1662
tetradic
#627E16 #167E66 #32167E #7E162E
square
#627E16 #167E66 #32167E #7E162E
split-complementary
#627E16 #162E7E #66167E
monochromatic
#141A05 #394A0D #627E16 #8BB21F #AEDB33
Accessibility & contrast
On white
4.65
#627E16 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.52
#627E16 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #627E16
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##627E16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##627E16 | 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)
#867500
Deuteranopia (green-blind)
#827421
Tritanopia (blue-blind)
#67776B
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #627e16; /* rgb */ color: rgb(98, 126, 22); /* oklch */ color: oklch(55.2% 0.129 124.4);
Tailwind
colors: {
custom: {
50: '#92a35e',
500: '#627e16',
950: '#000000',
},
}SCSS
$custom: #627e16; $custom-light: #92a35e; $custom-dark: #000000;
JSON
{
"hex": "#627e16",
"rgb": {
"r": 98,
"g": 126,
"b": 22
},
"hsl": {
"h": 76.154,
"s": 70.27,
"l": 29.02
},
"oklch": {
"l": 0.55174,
"c": 0.12872,
"h": 124.4
},
"luminance": 0.17576
}Semantic roles & 50–950 ramp
primary
#627E16
secondary
#5D3DB3
accent
#3BED6B
background
#F9FAF5
surface
#F2F3E9
border
#CCCDC5
text
#0D0F05
muted
#7E7F79