#287239#287239
#287239 is a mid, moderate green. Relative luminance 0.128; OKLCH L 49.1% C 0.115 H 148.1°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #287239 |
|---|---|
| RGB | rgb(40, 114, 57) |
| HSL | hsl(134, 48%, 30%) |
| HSV | hsv(134, 65%, 45%) |
| CMYK | cmyk(64.9%, 0%, 50%, 55.3%) |
| CIE-LAB | lab(42.43, -36.16, 24.91) |
| CIE-LCH | lch(42.43, 43.91, 145.44°) |
| OKLab | oklab(49.15% -0.0977 0.0607) |
| OKLCH | oklch(49.15% 0.115 148.1) |
| XYZ | xyz(7.6304, 12.7804, 5.9348) |
| Luminance | 0.1278 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.92
Jungle Green
#048243
ΔE00 5.85
Pine
#2B5D34
ΔE00 7.52
Spruce
#0A5F38
ΔE00 7.68
Tree Green
#2A7E19
ΔE00 7.95
Forest Green
#2D5A27
ΔE00 8.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#287239 #722861
analogous
#3C7228 #287239 #28725E
triadic
#287239 #392872 #723928
tetradic
#287239 #283C72 #722861 #725E28
square
#287239 #283C72 #722861 #725E28
split-complementary
#287239 #5E2872 #72283C
monochromatic
#08170C #184522 #287239 #389F50 #52C26C
Accessibility & contrast
On white
5.91
#287239 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#287239 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #287239
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##287239 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##287239 | 1.00 | 5.91 | 3.56 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#736834
Deuteranopia (green-blind)
#6A623D
Tritanopia (blue-blind)
#137065
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #287239; /* rgb */ color: rgb(40, 114, 57); /* oklch */ color: oklch(49.1% 0.115 148.1);
Tailwind
colors: {
custom: {
50: '#6b9b70',
500: '#287239',
950: '#000000',
},
}SCSS
$custom: #287239; $custom-light: #6b9b70; $custom-dark: #000000;
JSON
{
"hex": "#287239",
"rgb": {
"r": 40,
"g": 114,
"b": 57
},
"hsl": {
"h": 133.784,
"s": 48.052,
"l": 30.196
},
"oklch": {
"l": 0.49147,
"c": 0.115,
"h": 148.1
},
"luminance": 0.12781
}Semantic roles & 50–950 ramp
primary
#287239
secondary
#A45291
accent
#50B9D8
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#070E07
muted
#7A7E7A