#28612C#28612C
#28612C is a dark, moderate green. Relative luminance 0.092; OKLCH L 44.1% C 0.103 H 144.9°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).
Color values
| HEX | #28612C |
|---|---|
| RGB | rgb(40, 97, 44) |
| HSL | hsl(124, 42%, 27%) |
| HSV | hsv(124, 59%, 38%) |
| CMYK | cmyk(58.8%, 0%, 54.6%, 62%) |
| CIE-LAB | lab(36.33, -30.96, 24.53) |
| CIE-LCH | lch(36.33, 39.50, 141.61°) |
| OKLab | oklab(44.07% -0.084 0.0591) |
| OKLCH | oklch(44.07% 0.103 144.9) |
| XYZ | xyz(5.6041, 9.1819, 3.8593) |
| Luminance | 0.0918 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.66
Pine
#2B5D34
ΔE00 3.10
Hunter Green
#355E3B
ΔE00 4.90
Spruce
#0A5F38
ΔE00 5.09
Deep Green
#02590F
ΔE00 5.24
Forest
#0B5509
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28612C #61285D
analogous
#416128 #28612C #286149
triadic
#28612C #2C2861 #612C28
tetradic
#28612C #284161 #61285D #614928
square
#28612C #284161 #61285D #614928
split-complementary
#28612C #492861 #612841
monochromatic
#09160A #163618 #28612C #3A8C40 #4EB655
Accessibility & contrast
On white
7.40
#28612C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#28612C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28612C
7.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28612C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28612C | 1.00 | 7.40 | 2.84 | 7.40 |
| #FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#635927
Deuteranopia (green-blind)
#5B5330
Tritanopia (blue-blind)
#1E5F55
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #28612c; /* rgb */ color: rgb(40, 97, 44); /* oklch */ color: oklch(44.1% 0.103 144.9);
Tailwind
colors: {
custom: {
50: '#688e66',
500: '#28612c',
950: '#000000',
},
}SCSS
$custom: #28612c; $custom-light: #688e66; $custom-dark: #000000;
JSON
{
"hex": "#28612c",
"rgb": {
"r": 40,
"g": 97,
"b": 44
},
"hsl": {
"h": 124.211,
"s": 41.606,
"l": 26.863
},
"oklch": {
"l": 0.44066,
"c": 0.10271,
"h": 144.9
},
"luminance": 0.09182
}Semantic roles & 50–950 ramp
primary
#28612C
secondary
#94518F
accent
#56C9D1
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A