#627F1F#627F1F
#627F1F is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.5% C 0.125 H 125.2°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #627F1F |
|---|---|
| RGB | rgb(98, 127, 31) |
| HSL | hsl(78, 61%, 31%) |
| HSV | hsv(78, 76%, 50%) |
| CMYK | cmyk(22.8%, 0%, 75.6%, 50.2%) |
| CIE-LAB | lab(49.34, -24.87, 45.80) |
| CIE-LCH | lch(49.34, 52.12, 118.50°) |
| OKLab | oklab(55.48% -0.072 0.1021) |
| OKLCH | oklch(55.48% 0.125 125.2) |
| XYZ | xyz(12.8738, 17.8742, 4.0679) |
| Luminance | 0.1787 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dirty Green
#667E2C
ΔE00 1.92
Avocado
#568203
ΔE00 3.16
Olive Green
#677A04
ΔE00 3.78
Swamp
#698339
ΔE00 3.82
Murky Green
#6C7A0E
ΔE00 4.41
Mossy Green
#638B27
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#627F1F #3C1F7F
analogous
#7F6C1F #627F1F #327F1F
triadic
#627F1F #1F627F #7F1F62
tetradic
#627F1F #1F7F6C #3C1F7F #7F1F32
square
#627F1F #1F7F6C #3C1F7F #7F1F32
split-complementary
#627F1F #1F327F #6C1F7F
monochromatic
#161D07 #3C4E13 #627F1F #88B02B #A8D246
Accessibility & contrast
On white
4.59
#627F1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.57
#627F1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #627F1F
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##627F1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##627F1F | 1.00 | 4.59 | 4.57 | 4.59 |
| #FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86760C
Deuteranopia (green-blind)
#827528
Tritanopia (blue-blind)
#67796D
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #627f1f; /* rgb */ color: rgb(98, 127, 31); /* oklch */ color: oklch(55.5% 0.125 125.2);
Tailwind
colors: {
custom: {
50: '#92a462',
500: '#627f1f',
950: '#000000',
},
}SCSS
$custom: #627f1f; $custom-light: #92a462; $custom-dark: #000000;
JSON
{
"hex": "#627f1f",
"rgb": {
"r": 98,
"g": 127,
"b": 31
},
"hsl": {
"h": 78.125,
"s": 60.759,
"l": 30.98
},
"oklch": {
"l": 0.55485,
"c": 0.12492,
"h": 125.2
},
"luminance": 0.17874
}Semantic roles & 50–950 ramp
primary
#627F1F
secondary
#6848B2
accent
#44E474
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F05
muted
#7E7F7A