#627C18#627C18
#627C18 is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.7% C 0.125 H 123.7°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #627C18 |
|---|---|
| RGB | rgb(98, 124, 24) |
| HSL | hsl(76, 68%, 29%) |
| HSV | hsv(76, 81%, 49%) |
| CMYK | cmyk(21%, 0%, 80.6%, 51.4%) |
| CIE-LAB | lab(48.36, -23.75, 47.33) |
| CIE-LCH | lch(48.36, 52.96, 116.65°) |
| OKLab | oklab(54.68% -0.0695 0.1041) |
| OKLCH | oklch(54.68% 0.125 123.7) |
| XYZ | xyz(12.4097, 17.0778, 3.5065) |
| Luminance | 0.1708 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dirty Green
#667E2C
ΔE00 2.52
Olive Green
#677A04
ΔE00 2.59
Murky Green
#6C7A0E
ΔE00 3.38
Avocado
#568203
ΔE00 3.71
Poop Green
#6F7C00
ΔE00 4.38
Swamp
#698339
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#627C18 #32187C
analogous
#7C6418 #627C18 #307C18
triadic
#627C18 #18627C #7C1862
tetradic
#627C18 #187C64 #32187C #7C1830
square
#627C18 #187C64 #32187C #7C1830
split-complementary
#627C18 #18307C #64187C
monochromatic
#141A05 #39490E #627C18 #8BAF22 #AED836
Accessibility & contrast
On white
4.76
#627C18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#627C18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #627C18
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##627C18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##627C18 | 1.00 | 4.76 | 4.42 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 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)
#807322
Tritanopia (blue-blind)
#67756A
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #627c18; /* rgb */ color: rgb(98, 124, 24); /* oklch */ color: oklch(54.7% 0.125 123.7);
Tailwind
colors: {
custom: {
50: '#92a25e',
500: '#627c18',
950: '#000000',
},
}SCSS
$custom: #627c18; $custom-light: #92a25e; $custom-dark: #000000;
JSON
{
"hex": "#627c18",
"rgb": {
"r": 98,
"g": 124,
"b": 24
},
"hsl": {
"h": 75.6,
"s": 67.568,
"l": 29.02
},
"oklch": {
"l": 0.54675,
"c": 0.12516,
"h": 123.7
},
"luminance": 0.17078
}Semantic roles & 50–950 ramp
primary
#627C18
secondary
#5D3FB1
accent
#3DEA6A
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0D0F05
muted
#7E7E79