#28622F#28622F
#28622F is a dark, moderate green. Relative luminance 0.094; OKLCH L 44.4% C 0.101 H 146.0°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #28622F |
|---|---|
| RGB | rgb(40, 98, 47) |
| HSL | hsl(127, 42%, 27%) |
| HSV | hsv(127, 59%, 38%) |
| CMYK | cmyk(59.2%, 0%, 52%, 61.6%) |
| CIE-LAB | lab(36.73, -30.93, 23.34) |
| CIE-LCH | lch(36.73, 38.75, 142.96°) |
| OKLab | oklab(44.41% -0.0838 0.0566) |
| OKLCH | oklch(44.41% 0.101 146) |
| XYZ | xyz(5.7555, 9.3912, 4.1982) |
| Luminance | 0.0939 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 2.82
Forest Green
#2D5A27
ΔE00 3.09
Hunter Green
#355E3B
ΔE00 4.57
Spruce
#0A5F38
ΔE00 4.64
Deep Green
#02590F
ΔE00 5.78
Forest
#0B5509
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28622F #62285B
analogous
#3E6228 #28622F #28624C
triadic
#28622F #2F2862 #622F28
tetradic
#28622F #283E62 #62285B #624C28
square
#28622F #283E62 #62285B #624C28
split-complementary
#28622F #4C2862 #62283E
monochromatic
#09160A #16371A #28622F #3A8D44 #4EB75A
Accessibility & contrast
On white
7.30
#28622F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#28622F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28622F
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28622F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28622F | 1.00 | 7.30 | 2.88 | 7.30 |
| #FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#635A2B
Deuteranopia (green-blind)
#5C5433
Tritanopia (blue-blind)
#1D6056
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #28622f; /* rgb */ color: rgb(40, 98, 47); /* oklch */ color: oklch(44.4% 0.101 146.0);
Tailwind
colors: {
custom: {
50: '#688f68',
500: '#28622f',
950: '#000000',
},
}SCSS
$custom: #28622f; $custom-light: #688f68; $custom-dark: #000000;
JSON
{
"hex": "#28622f",
"rgb": {
"r": 40,
"g": 98,
"b": 47
},
"hsl": {
"h": 127.241,
"s": 42.029,
"l": 27.059
},
"oklch": {
"l": 0.44405,
"c": 0.10114,
"h": 146
},
"luminance": 0.09392
}Semantic roles & 50–950 ramp
primary
#28622F
secondary
#95518D
accent
#56C3D2
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A