#628E29#628E29
#628E29 is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.4% C 0.138 H 130.2°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #628E29 |
|---|---|
| RGB | rgb(98, 142, 41) |
| HSL | hsl(86, 55%, 36%) |
| HSV | hsv(86, 71%, 56%) |
| CMYK | cmyk(31%, 0%, 71.1%, 44.3%) |
| CIE-LAB | lab(54.14, -31.45, 46.69) |
| CIE-LCH | lch(54.14, 56.29, 123.96°) |
| OKLab | oklab(59.4% -0.0891 0.1055) |
| OKLCH | oklch(59.4% 0.138 130.2) |
| XYZ | xyz(15.1101, 22.1023, 5.5675) |
| Luminance | 0.2210 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Mossy Green
#638B27
ΔE00 1.14
Sap Green
#5C8B15
ΔE00 2.14
Olivedrab
#6B8E23
ΔE00 2.28
Moss Green (survey)
#658B38
ΔE00 2.57
Avocado
#568203
ΔE00 5.07
Swamp
#698339
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#628E29 #55298E
analogous
#8E8729 #628E29 #2F8E29
triadic
#628E29 #29628E #8E2962
tetradic
#628E29 #298E87 #55298E #8E292F
square
#628E29 #298E87 #55298E #8E292F
split-complementary
#628E29 #292F8E #87298E
monochromatic
#202F0E #415F1B #628E29 #83BD37 #A0D160
Accessibility & contrast
On white
3.87
#628E29 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.42
#628E29 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #628E29
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##628E29 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##628E29 | 1.00 | 3.87 | 5.42 | 5.42 |
| #FFFFFF | 3.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958419
Deuteranopia (green-blind)
#8F8032
Tritanopia (blue-blind)
#64887A
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #628e29; /* rgb */ color: rgb(98, 142, 41); /* oklch */ color: oklch(59.4% 0.138 130.2);
Tailwind
colors: {
custom: {
50: '#92af69',
500: '#628e29',
950: '#000000',
},
}SCSS
$custom: #628e29; $custom-light: #92af69; $custom-dark: #000000;
JSON
{
"hex": "#628e29",
"rgb": {
"r": 98,
"g": 142,
"b": 41
},
"hsl": {
"h": 86.139,
"s": 55.191,
"l": 35.882
},
"oklch": {
"l": 0.59397,
"c": 0.13812,
"h": 130.2
},
"luminance": 0.22103
}Semantic roles & 50–950 ramp
primary
#628E29
secondary
#845CB7
accent
#49DF8A
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1007
muted
#7E7F7A