#628C2A#628C2A
#628C2A is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.9% C 0.135 H 129.8°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #628C2A |
|---|---|
| RGB | rgb(98, 140, 42) |
| HSL | hsl(86, 54%, 36%) |
| HSV | hsv(86, 70%, 55%) |
| CMYK | cmyk(30%, 0%, 70%, 45.1%) |
| CIE-LAB | lab(53.51, -30.43, 45.64) |
| CIE-LCH | lch(53.51, 54.86, 123.69°) |
| OKLab | oklab(58.89% -0.0862 0.1035) |
| OKLCH | oklch(58.89% 0.135 129.8) |
| XYZ | xyz(14.8329, 21.5196, 5.5622) |
| Luminance | 0.2152 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Mossy Green
#638B27
ΔE00 0.62
Moss Green (survey)
#658B38
ΔE00 2.13
Sap Green
#5C8B15
ΔE00 2.13
Olivedrab
#6B8E23
ΔE00 2.42
Swamp
#698339
ΔE00 4.63
Avocado
#568203
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#628C2A #542A8C
analogous
#8C852A #628C2A #318C2A
triadic
#628C2A #2A628C #8C2A62
tetradic
#628C2A #2A8C85 #542A8C #8C2A31
square
#628C2A #2A8C85 #542A8C #8C2A31
split-complementary
#628C2A #2A318C #852A8C
monochromatic
#202E0E #415D1C #628C2A #83BB38 #A0D061
Accessibility & contrast
On white
3.96
#628C2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.30
#628C2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #628C2A
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##628C2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##628C2A | 1.00 | 3.96 | 5.30 | 5.30 |
| #FFFFFF | 3.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#93821B
Deuteranopia (green-blind)
#8D7F32
Tritanopia (blue-blind)
#658678
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #628c2a; /* rgb */ color: rgb(98, 140, 42); /* oklch */ color: oklch(58.9% 0.135 129.8);
Tailwind
colors: {
custom: {
50: '#92ae69',
500: '#628c2a',
950: '#000000',
},
}SCSS
$custom: #628c2a; $custom-light: #92ae69; $custom-dark: #000000;
JSON
{
"hex": "#628c2a",
"rgb": {
"r": 98,
"g": 140,
"b": 42
},
"hsl": {
"h": 85.714,
"s": 53.846,
"l": 35.686
},
"oklch": {
"l": 0.58894,
"c": 0.13471,
"h": 129.8
},
"luminance": 0.2152
}Semantic roles & 50–950 ramp
primary
#628C2A
secondary
#835CB5
accent
#4BDD89
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1007
muted
#7E7F7A