#627F18#627F18
#627F18 is a mid, vivid yellow-green. Relative luminance 0.178; OKLCH L 55.4% C 0.129 H 124.8°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #627F18 |
|---|---|
| RGB | rgb(98, 127, 24) |
| HSL | hsl(77, 68%, 30%) |
| HSV | hsv(77, 81%, 50%) |
| CMYK | cmyk(22.8%, 0%, 81.1%, 50.2%) |
| CIE-LAB | lab(49.30, -25.25, 48.20) |
| CIE-LCH | lch(49.30, 54.41, 117.65°) |
| OKLab | oklab(55.44% -0.0736 0.1059) |
| OKLCH | oklch(55.44% 0.129 124.8) |
| XYZ | xyz(12.7914, 17.8412, 3.6338) |
| Luminance | 0.1784 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dirty Green
#667E2C
ΔE00 2.61
Avocado
#568203
ΔE00 2.89
Olive Green
#677A04
ΔE00 3.24
Murky Green
#6C7A0E
ΔE00 4.00
Swamp
#698339
ΔE00 4.53
Mossy Green
#638B27
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#627F18 #35187F
analogous
#7F6918 #627F18 #2F7F18
triadic
#627F18 #18627F #7F1862
tetradic
#627F18 #187F69 #35187F #7F182F
square
#627F18 #187F69 #35187F #7F182F
split-complementary
#627F18 #182F7F #69187F
monochromatic
#141A05 #3A4C0E #627F18 #8AB222 #ACD938
Accessibility & contrast
On white
4.60
#627F18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.57
#627F18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #627F18
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##627F18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##627F18 | 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)
#837523
Tritanopia (blue-blind)
#67786C
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #627f18; /* rgb */ color: rgb(98, 127, 24); /* oklch */ color: oklch(55.4% 0.129 124.8);
Tailwind
colors: {
custom: {
50: '#92a45f',
500: '#627f18',
950: '#000000',
},
}SCSS
$custom: #627f18; $custom-light: #92a45f; $custom-dark: #000000;
JSON
{
"hex": "#627f18",
"rgb": {
"r": 98,
"g": 127,
"b": 24
},
"hsl": {
"h": 76.893,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.5544,
"c": 0.12898,
"h": 124.8
},
"luminance": 0.17841
}Semantic roles & 50–950 ramp
primary
#627F18
secondary
#603FB3
accent
#3DEB6E
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0D0F05
muted
#7E7F79