#627F26#627F26
#627F26 is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.5% C 0.120 H 125.7°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).
Color values
| HEX | #627F26 |
|---|---|
| RGB | rgb(98, 127, 38) |
| HSL | hsl(80, 54%, 32%) |
| HSV | hsv(80, 70%, 50%) |
| CMYK | cmyk(22.8%, 0%, 70.1%, 50.2%) |
| CIE-LAB | lab(49.39, -24.41, 43.05) |
| CIE-LCH | lch(49.39, 49.49, 119.55°) |
| OKLab | oklab(55.54% -0.0701 0.0975) |
| OKLCH | oklch(55.54% 0.12 125.7) |
| XYZ | xyz(12.9763, 17.9152, 4.6077) |
| Luminance | 0.1792 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dirty Green
#667E2C
ΔE00 1.28
Swamp
#698339
ΔE00 3.04
Avocado
#568203
ΔE00 3.70
Khaki Green
#728639
ΔE00 4.20
Mossy Green
#638B27
ΔE00 4.45
Olive Green
#677A04
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#627F26 #43267F
analogous
#7F7026 #627F26 #357F26
triadic
#627F26 #26627F #7F2662
tetradic
#627F26 #267F70 #43267F #7F2635
square
#627F26 #267F70 #43267F #7F2635
split-complementary
#627F26 #26357F #70267F
monochromatic
#19210A #3E5018 #627F26 #86AE34 #A5CC54
Accessibility & contrast
On white
4.58
#627F26 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.58
#627F26 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #627F26
4.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##627F26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##627F26 | 1.00 | 4.58 | 4.58 | 4.58 |
| #FFFFFF | 4.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867619
Deuteranopia (green-blind)
#82752D
Tritanopia (blue-blind)
#66796D
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #627f26; /* rgb */ color: rgb(98, 127, 38); /* oklch */ color: oklch(55.5% 0.120 125.7);
Tailwind
colors: {
custom: {
50: '#91a466',
500: '#627f26',
950: '#000000',
},
}SCSS
$custom: #627f26; $custom-light: #91a466; $custom-dark: #000000;
JSON
{
"hex": "#627f26",
"rgb": {
"r": 98,
"g": 127,
"b": 38
},
"hsl": {
"h": 79.551,
"s": 53.939,
"l": 32.353
},
"oklch": {
"l": 0.55542,
"c": 0.12003,
"h": 125.7
},
"luminance": 0.17915
}Semantic roles & 50–950 ramp
primary
#627F26
secondary
#7051B0
accent
#4ADD7A
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A