#286227#286227
#286227 is a dark, moderate green. Relative luminance 0.093; OKLCH L 44.3% C 0.109 H 143.2°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #286227 |
|---|---|
| RGB | rgb(40, 98, 39) |
| HSL | hsl(119, 43%, 27%) |
| HSV | hsv(119, 60%, 38%) |
| CMYK | cmyk(59.2%, 0%, 60.2%, 61.6%) |
| CIE-LAB | lab(36.62, -32.14, 27.59) |
| CIE-LCH | lch(36.62, 42.35, 139.36°) |
| OKLab | oklab(44.28% -0.0874 0.0654) |
| OKLCH | oklch(44.28% 0.109 143.2) |
| XYZ | xyz(5.6087, 9.3325, 3.4249) |
| Luminance | 0.0933 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.10
Pine
#2B5D34
ΔE00 4.40
Deep Green
#02590F
ΔE00 4.60
Forest
#0B5509
ΔE00 5.45
Darkgreen
#006400
ΔE00 5.61
Hunter Green
#355E3B
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286227 #612762
analogous
#466227 #286227 #276244
triadic
#286227 #272862 #622728
tetradic
#286227 #274662 #612762 #624427
square
#286227 #274662 #612762 #624427
split-complementary
#286227 #442762 #622746
monochromatic
#091609 #163616 #286227 #3A8E38 #4EB84C
Accessibility & contrast
On white
7.33
#286227 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#286227 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #286227
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286227 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286227 | 1.00 | 7.33 | 2.87 | 7.33 |
| #FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#645921
Deuteranopia (green-blind)
#5D542B
Tritanopia (blue-blind)
#1F5F55
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #286227; /* rgb */ color: rgb(40, 98, 39); /* oklch */ color: oklch(44.3% 0.109 143.2);
Tailwind
colors: {
custom: {
50: '#688f63',
500: '#286227',
950: '#000000',
},
}SCSS
$custom: #286227; $custom-light: #688f63; $custom-dark: #000000;
JSON
{
"hex": "#286227",
"rgb": {
"r": 40,
"g": 98,
"b": 39
},
"hsl": {
"h": 118.983,
"s": 43.066,
"l": 26.863
},
"oklch": {
"l": 0.44279,
"c": 0.10918,
"h": 143.2
},
"luminance": 0.09333
}Semantic roles & 50–950 ramp
primary
#286227
secondary
#945095
accent
#55D3D1
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#070C05
muted
#7A7D7A