#628C2C#628C2C
#628C2C is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.9% C 0.133 H 130.0°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #628C2C |
|---|---|
| RGB | rgb(98, 140, 44) |
| HSL | hsl(86, 52%, 36%) |
| HSV | hsv(86, 69%, 55%) |
| CMYK | cmyk(30%, 0%, 68.6%, 45.1%) |
| CIE-LAB | lab(53.53, -30.28, 44.82) |
| CIE-LCH | lch(53.53, 54.09, 124.04°) |
| OKLab | oklab(58.91% -0.0856 0.1021) |
| OKLCH | oklch(58.91% 0.133 130) |
| XYZ | xyz(14.8696, 21.5343, 5.7555) |
| Luminance | 0.2154 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Mossy Green
#638B27
ΔE00 0.85
Moss Green (survey)
#658B38
ΔE00 1.87
Sap Green
#5C8B15
ΔE00 2.38
Olivedrab
#6B8E23
ΔE00 2.62
Swamp
#698339
ΔE00 4.50
Avocado
#568203
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#628C2C #562C8C
analogous
#8C862C #628C2C #328C2C
triadic
#628C2C #2C628C #8C2C62
tetradic
#628C2C #2C8C86 #562C8C #8C2C32
square
#628C2C #2C8C86 #562C8C #8C2C32
split-complementary
#628C2C #2C328C #862C8C
monochromatic
#212F0F #415D1D #628C2C #83BB3B #A0CE64
Accessibility & contrast
On white
3.96
#628C2C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.31
#628C2C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #628C2C
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##628C2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##628C2C | 1.00 | 3.96 | 5.31 | 5.31 |
| #FFFFFF | 3.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#92821F
Deuteranopia (green-blind)
#8D7F34
Tritanopia (blue-blind)
#648679
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #628c2c; /* rgb */ color: rgb(98, 140, 44); /* oklch */ color: oklch(58.9% 0.133 130.0);
Tailwind
colors: {
custom: {
50: '#92ae6a',
500: '#628c2c',
950: '#000000',
},
}SCSS
$custom: #628c2c; $custom-light: #92ae6a; $custom-dark: #000000;
JSON
{
"hex": "#628c2c",
"rgb": {
"r": 98,
"g": 140,
"b": 44
},
"hsl": {
"h": 86.25,
"s": 52.174,
"l": 36.078
},
"oklch": {
"l": 0.58912,
"c": 0.13323,
"h": 130
},
"luminance": 0.21535
}Semantic roles & 50–950 ramp
primary
#628C2C
secondary
#855FB5
accent
#4CDC8B
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A