#286231#286231
#286231 is a dark, moderate green. Relative luminance 0.094; OKLCH L 44.4% C 0.099 H 146.8°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #286231 |
|---|---|
| RGB | rgb(40, 98, 49) |
| HSL | hsl(129, 42%, 27%) |
| HSV | hsv(129, 59%, 38%) |
| CMYK | cmyk(59.2%, 0%, 50%, 61.6%) |
| CIE-LAB | lab(36.76, -30.59, 22.25) |
| CIE-LCH | lch(36.76, 37.83, 143.97°) |
| OKLab | oklab(44.44% -0.0829 0.0543) |
| OKLCH | oklch(44.44% 0.099 146.8) |
| XYZ | xyz(5.7968, 9.4077, 4.4155) |
| Luminance | 0.0941 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 2.46
Forest Green
#2D5A27
ΔE00 3.28
Hunter Green
#355E3B
ΔE00 4.20
Spruce
#0A5F38
ΔE00 4.24
Deep Green
#02590F
ΔE00 6.16
Forest
#0B5509
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286231 #622859
analogous
#3C6228 #286231 #28624E
triadic
#286231 #312862 #623128
tetradic
#286231 #283C62 #622859 #624E28
square
#286231 #283C62 #622859 #624E28
split-complementary
#286231 #4E2862 #62283C
monochromatic
#09160B #16371B #286231 #3A8D47 #4EB75E
Accessibility & contrast
On white
7.29
#286231 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#286231 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #286231
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286231 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286231 | 1.00 | 7.29 | 2.88 | 7.29 |
| #FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#635A2D
Deuteranopia (green-blind)
#5C5434
Tritanopia (blue-blind)
#1C6056
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #286231; /* rgb */ color: rgb(40, 98, 49); /* oklch */ color: oklch(44.4% 0.099 146.8);
Tailwind
colors: {
custom: {
50: '#688f6a',
500: '#286231',
950: '#000000',
},
}SCSS
$custom: #286231; $custom-light: #688f6a; $custom-dark: #000000;
JSON
{
"hex": "#286231",
"rgb": {
"r": 40,
"g": 98,
"b": 49
},
"hsl": {
"h": 129.31,
"s": 42.029,
"l": 27.059
},
"oklch": {
"l": 0.4444,
"c": 0.09905,
"h": 146.8
},
"luminance": 0.09408
}Semantic roles & 50–950 ramp
primary
#286231
secondary
#95518A
accent
#56BFD2
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A