#627E1F#627E1F
#627E1F is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 55.2% C 0.124 H 124.8°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #627E1F |
|---|---|
| RGB | rgb(98, 126, 31) |
| HSL | hsl(78, 61%, 31%) |
| HSV | hsv(78, 75%, 49%) |
| CMYK | cmyk(22.2%, 0%, 75.4%, 50.6%) |
| CIE-LAB | lab(49.03, -24.37, 45.49) |
| CIE-LCH | lch(49.03, 51.61, 118.18°) |
| OKLab | oklab(55.23% -0.0706 0.1014) |
| OKLCH | oklch(55.23% 0.124 124.8) |
| XYZ | xyz(12.7453, 17.6172, 4.0250) |
| Luminance | 0.1762 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dirty Green
#667E2C
ΔE00 1.81
Avocado
#568203
ΔE00 3.40
Olive Green
#677A04
ΔE00 3.58
Swamp
#698339
ΔE00 3.92
Murky Green
#6C7A0E
ΔE00 4.21
Khaki Green
#728639
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#627E1F #3B1F7E
analogous
#7E6A1F #627E1F #327E1F
triadic
#627E1F #1F627E #7E1F62
tetradic
#627E1F #1F7E6A #3B1F7E #7E1F32
square
#627E1F #1F7E6A #3B1F7E #7E1F32
split-complementary
#627E1F #1F327E #6A1F7E
monochromatic
#161C07 #3C4D13 #627E1F #88AF2B #A8D146
Accessibility & contrast
On white
4.64
#627E1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.52
#627E1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #627E1F
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##627E1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##627E1F | 1.00 | 4.64 | 4.52 | 4.64 |
| #FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#85750D
Deuteranopia (green-blind)
#817428
Tritanopia (blue-blind)
#67786C
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #627e1f; /* rgb */ color: rgb(98, 126, 31); /* oklch */ color: oklch(55.2% 0.124 124.8);
Tailwind
colors: {
custom: {
50: '#92a362',
500: '#627e1f',
950: '#000000',
},
}SCSS
$custom: #627e1f; $custom-light: #92a362; $custom-dark: #000000;
JSON
{
"hex": "#627e1f",
"rgb": {
"r": 98,
"g": 126,
"b": 31
},
"hsl": {
"h": 77.684,
"s": 60.51,
"l": 30.784
},
"oklch": {
"l": 0.5523,
"c": 0.12361,
"h": 124.8
},
"luminance": 0.17617
}Semantic roles & 50–950 ramp
primary
#627E1F
secondary
#6748B1
accent
#44E473
background
#F9FAF6
surface
#F1F3EB
border
#CBCDC6
text
#0D0F05
muted
#7E7F7A