#627E1A#627E1A
#627E1A is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 55.2% C 0.127 H 124.6°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #627E1A |
|---|---|
| RGB | rgb(98, 126, 26) |
| HSL | hsl(77, 66%, 30%) |
| HSV | hsv(77, 79%, 49%) |
| CMYK | cmyk(22.2%, 0%, 79.4%, 50.6%) |
| CIE-LAB | lab(49.00, -24.65, 47.26) |
| CIE-LCH | lch(49.00, 53.30, 117.55°) |
| OKLab | oklab(55.2% -0.0718 0.1043) |
| OKLCH | oklch(55.2% 0.127 124.6) |
| XYZ | xyz(12.6844, 17.5928, 3.7046) |
| Luminance | 0.1759 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dirty Green
#667E2C
ΔE00 2.33
Olive Green
#677A04
ΔE00 3.14
Avocado
#568203
ΔE00 3.19
Murky Green
#6C7A0E
ΔE00 3.88
Swamp
#698339
ΔE00 4.43
Poop Green
#6F7C00
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#627E1A #361A7E
analogous
#7E681A #627E1A #307E1A
triadic
#627E1A #1A627E #7E1A62
tetradic
#627E1A #1A7E68 #361A7E #7E1A30
square
#627E1A #1A7E68 #361A7E #7E1A30
split-complementary
#627E1A #1A307E #681A7E
monochromatic
#141905 #3B4B10 #627E1A #89B124 #ABD73C
Accessibility & contrast
On white
4.65
#627E1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.52
#627E1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #627E1A
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##627E1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##627E1A | 1.00 | 4.65 | 4.52 | 4.65 |
| #FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857501
Deuteranopia (green-blind)
#827424
Tritanopia (blue-blind)
#67786B
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #627e1a; /* rgb */ color: rgb(98, 126, 26); /* oklch */ color: oklch(55.2% 0.127 124.6);
Tailwind
colors: {
custom: {
50: '#92a35f',
500: '#627e1a',
950: '#000000',
},
}SCSS
$custom: #627e1a; $custom-light: #92a35f; $custom-dark: #000000;
JSON
{
"hex": "#627e1a",
"rgb": {
"r": 98,
"g": 126,
"b": 26
},
"hsl": {
"h": 76.8,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.55197,
"c": 0.12662,
"h": 124.6
},
"luminance": 0.17593
}Semantic roles & 50–950 ramp
primary
#627E1A
secondary
#6142B2
accent
#3FE96F
background
#F9FAF5
surface
#F2F3EA
border
#CCCDC6
text
#0D0F05
muted
#7E7F79