#628A20#628A20
#628A20 is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.3% C 0.139 H 128.5°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #628A20 |
|---|---|
| RGB | rgb(98, 138, 32) |
| HSL | hsl(83, 62%, 33%) |
| HSV | hsv(83, 77%, 54%) |
| CMYK | cmyk(29%, 0%, 76.8%, 45.9%) |
| CIE-LAB | lab(52.82, -30.15, 48.80) |
| CIE-LCH | lch(52.82, 57.36, 121.71°) |
| OKLab | oklab(58.3% -0.0863 0.1085) |
| OKLCH | oklch(58.3% 0.139 128.5) |
| XYZ | xyz(14.3862, 20.8776, 4.6380) |
| Luminance | 0.2088 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Mossy Green
#638B27
ΔE00 0.84
Sap Green
#5C8B15
ΔE00 1.36
Olivedrab
#6B8E23
ΔE00 2.08
Moss Green (survey)
#658B38
ΔE00 3.24
Avocado
#568203
ΔE00 3.60
Swamp
#698339
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#628A20 #48208A
analogous
#8A7D20 #628A20 #2D8A20
triadic
#628A20 #20628A #8A2062
tetradic
#628A20 #208A7D #48208A #8A202D
square
#628A20 #208A7D #48208A #8A202D
split-complementary
#628A20 #202D8A #7D208A
monochromatic
#1B2709 #3F5814 #628A20 #85BC2C #A3D64E
Accessibility & contrast
On white
4.06
#628A20 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.18
#628A20 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #628A20
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##628A20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##628A20 | 1.00 | 4.06 | 5.18 | 5.18 |
| #FFFFFF | 4.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918008
Deuteranopia (green-blind)
#8C7D2A
Tritanopia (blue-blind)
#658476
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #628a20; /* rgb */ color: rgb(98, 138, 32); /* oklch */ color: oklch(58.3% 0.139 128.5);
Tailwind
colors: {
custom: {
50: '#92ac64',
500: '#628a20',
950: '#000000',
},
}SCSS
$custom: #628a20; $custom-light: #92ac64; $custom-dark: #000000;
JSON
{
"hex": "#628a20",
"rgb": {
"r": 98,
"g": 138,
"b": 32
},
"hsl": {
"h": 82.642,
"s": 62.353,
"l": 33.333
},
"oklch": {
"l": 0.58305,
"c": 0.13868,
"h": 128.5
},
"luminance": 0.20878
}Semantic roles & 50–950 ramp
primary
#628A20
secondary
#764DB9
accent
#42E580
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A