#28612A#28612A
#28612A is a dark, moderate green. Relative luminance 0.092; OKLCH L 44.0% C 0.105 H 144.2°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).
Color values
| HEX | #28612A |
|---|---|
| RGB | rgb(40, 97, 42) |
| HSL | hsl(122, 42%, 27%) |
| HSV | hsv(122, 59%, 38%) |
| CMYK | cmyk(58.8%, 0%, 56.7%, 62%) |
| CIE-LAB | lab(36.30, -31.27, 25.60) |
| CIE-LCH | lch(36.30, 40.41, 140.69°) |
| OKLab | oklab(44.03% -0.0849 0.0613) |
| OKLCH | oklch(44.03% 0.105 144.2) |
| XYZ | xyz(5.5674, 9.1672, 3.6661) |
| Luminance | 0.0917 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.64
Pine
#2B5D34
ΔE00 3.52
Deep Green
#02590F
ΔE00 4.92
Hunter Green
#355E3B
ΔE00 5.30
Spruce
#0A5F38
ΔE00 5.50
Forest
#0B5509
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28612A #61285F
analogous
#436128 #28612A #286147
triadic
#28612A #2A2861 #612A28
tetradic
#28612A #284361 #61285F #614728
square
#28612A #284361 #61285F #614728
split-complementary
#28612A #472861 #612843
monochromatic
#091609 #163617 #28612A #3A8C3D #4EB651
Accessibility & contrast
On white
7.41
#28612A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#28612A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28612A
7.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28612A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28612A | 1.00 | 7.41 | 2.83 | 7.41 |
| #FFFFFF | 7.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#635825
Deuteranopia (green-blind)
#5B532E
Tritanopia (blue-blind)
#1E5E55
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #28612a; /* rgb */ color: rgb(40, 97, 42); /* oklch */ color: oklch(44.0% 0.105 144.2);
Tailwind
colors: {
custom: {
50: '#688e65',
500: '#28612a',
950: '#000000',
},
}SCSS
$custom: #28612a; $custom-light: #688e65; $custom-dark: #000000;
JSON
{
"hex": "#28612a",
"rgb": {
"r": 40,
"g": 97,
"b": 42
},
"hsl": {
"h": 122.105,
"s": 41.606,
"l": 26.863
},
"oklch": {
"l": 0.44034,
"c": 0.10473,
"h": 144.2
},
"luminance": 0.09168
}Semantic roles & 50–950 ramp
primary
#28612A
secondary
#945191
accent
#56CDD1
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C05
muted
#7A7D7A