#627C16#627C16
#627C16 is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.7% C 0.126 H 123.6°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #627C16 |
|---|---|
| RGB | rgb(98, 124, 22) |
| HSL | hsl(75, 70%, 29%) |
| HSV | hsv(75, 82%, 49%) |
| CMYK | cmyk(21%, 0%, 82.3%, 51.4%) |
| CIE-LAB | lab(48.35, -23.84, 47.96) |
| CIE-LCH | lch(48.35, 53.56, 116.43°) |
| OKLab | oklab(54.66% -0.0699 0.1051) |
| OKLCH | oklch(54.66% 0.126 123.6) |
| XYZ | xyz(12.3896, 17.0698, 3.4010) |
| Luminance | 0.1707 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Olive Green
#677A04
ΔE00 2.44
Dirty Green
#667E2C
ΔE00 2.71
Murky Green
#6C7A0E
ΔE00 3.27
Avocado
#568203
ΔE00 3.68
Poop Green
#6F7C00
ΔE00 4.24
Swamp
#698339
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#627C16 #30167C
analogous
#7C6316 #627C16 #2F7C16
triadic
#627C16 #16627C #7C1662
tetradic
#627C16 #167C63 #30167C #7C162F
square
#627C16 #167C63 #30167C #7C162F
split-complementary
#627C16 #162F7C #63167C
monochromatic
#151A05 #39480D #627C16 #8BB01F #B0DB32
Accessibility & contrast
On white
4.76
#627C16 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#627C16 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #627C16
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##627C16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##627C16 | 1.00 | 4.76 | 4.41 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#807321
Tritanopia (blue-blind)
#677569
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #627c16; /* rgb */ color: rgb(98, 124, 22); /* oklch */ color: oklch(54.7% 0.126 123.6);
Tailwind
colors: {
custom: {
50: '#92a25d',
500: '#627c16',
950: '#000000',
},
}SCSS
$custom: #627c16; $custom-light: #92a25d; $custom-dark: #000000;
JSON
{
"hex": "#627c16",
"rgb": {
"r": 98,
"g": 124,
"b": 22
},
"hsl": {
"h": 75.294,
"s": 69.863,
"l": 28.627
},
"oklch": {
"l": 0.54663,
"c": 0.1262,
"h": 123.6
},
"luminance": 0.1707
}Semantic roles & 50–950 ramp
primary
#627C16
secondary
#5A3DB1
accent
#3BED68
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0F05
muted
#7E7E79