#627F17#627F17
#627F17 is a mid, vivid yellow-green. Relative luminance 0.178; OKLCH L 55.4% C 0.129 H 124.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #627F17 |
|---|---|
| RGB | rgb(98, 127, 23) |
| HSL | hsl(77, 69%, 29%) |
| HSV | hsv(77, 82%, 50%) |
| CMYK | cmyk(22.8%, 0%, 81.9%, 50.2%) |
| CIE-LAB | lab(49.30, -25.29, 48.51) |
| CIE-LCH | lch(49.30, 54.71, 117.54°) |
| OKLab | oklab(55.43% -0.0738 0.1064) |
| OKLCH | oklch(55.43% 0.129 124.7) |
| XYZ | xyz(12.7812, 17.8371, 3.5800) |
| Luminance | 0.1784 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dirty Green
#667E2C
ΔE00 2.70
Avocado
#568203
ΔE00 2.87
Olive Green
#677A04
ΔE00 3.18
Murky Green
#6C7A0E
ΔE00 3.96
Swamp
#698339
ΔE00 4.62
Poop Green
#6F7C00
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#627F17 #34177F
analogous
#7F6817 #627F17 #2E7F17
triadic
#627F17 #17627F #7F1762
tetradic
#627F17 #177F68 #34177F #7F172E
square
#627F17 #177F68 #34177F #7F172E
split-complementary
#627F17 #172E7F #68177F
monochromatic
#141A05 #3A4B0E #627F17 #8AB320 #ADDB36
Accessibility & contrast
On white
4.60
#627F17 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.57
#627F17 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #627F17
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##627F17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##627F17 | 1.00 | 4.60 | 4.57 | 4.60 |
| #FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#837522
Tritanopia (blue-blind)
#67786C
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #627f17; /* rgb */ color: rgb(98, 127, 23); /* oklch */ color: oklch(55.4% 0.129 124.7);
Tailwind
colors: {
custom: {
50: '#92a45e',
500: '#627f17',
950: '#000000',
},
}SCSS
$custom: #627f17; $custom-light: #92a45e; $custom-dark: #000000;
JSON
{
"hex": "#627f17",
"rgb": {
"r": 98,
"g": 127,
"b": 23
},
"hsl": {
"h": 76.731,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.55434,
"c": 0.12949,
"h": 124.7
},
"luminance": 0.17837
}Semantic roles & 50–950 ramp
primary
#627F17
secondary
#5F3EB4
accent
#3CEC6D
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0D0F05
muted
#7E7F79