#284F2D#284F2D
#284F2D is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.9% C 0.072 H 146.9°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #284F2D |
|---|---|
| RGB | rgb(40, 79, 45) |
| HSL | hsl(128, 33%, 23%) |
| HSV | hsv(128, 49%, 31%) |
| CMYK | cmyk(49.4%, 0%, 43%, 69%) |
| CIE-LAB | lab(29.99, -22.25, 15.91) |
| CIE-LCH | lch(29.99, 27.35, 144.44°) |
| OKLab | oklab(38.88% -0.0605 0.0395) |
| OKLCH | oklch(38.88% 0.072 146.9) |
| XYZ | xyz(4.1445, 6.2323, 3.4667) |
| Luminance | 0.0623 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine Green
#0A481E
ΔE00 4.54
Pine
#2B5D34
ΔE00 4.75
Hunter Green
#355E3B
ΔE00 4.94
Evergreen
#05472A
ΔE00 4.97
Forest Green
#2D5A27
ΔE00 5.39
Spruce
#0A5F38
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284F2D #4F284A
analogous
#364F28 #284F2D #284F40
triadic
#284F2D #2D284F #4F2D28
tetradic
#284F2D #28364F #4F284A #4F4028
square
#284F2D #28364F #4F284A #4F4028
split-complementary
#284F2D #40284F #4F2836
monochromatic
#0A140C #132616 #284F2D #3D7844 #51A05B
Accessibility & contrast
On white
9.35
#284F2D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#284F2D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284F2D
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284F2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284F2D | 1.00 | 9.35 | 2.25 | 9.35 |
| #FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#50492B
Deuteranopia (green-blind)
#4A452F
Tritanopia (blue-blind)
#224D47
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #284f2d; /* rgb */ color: rgb(40, 79, 45); /* oklch */ color: oklch(38.9% 0.072 146.9);
Tailwind
colors: {
custom: {
50: '#658066',
500: '#284f2d',
950: '#000000',
},
}SCSS
$custom: #284f2d; $custom-light: #658066; $custom-dark: #000000;
JSON
{
"hex": "#284f2d",
"rgb": {
"r": 40,
"g": 79,
"b": 45
},
"hsl": {
"h": 127.692,
"s": 32.773,
"l": 23.333
},
"oklch": {
"l": 0.38879,
"c": 0.07224,
"h": 146.9
},
"luminance": 0.06233
}Semantic roles & 50–950 ramp
primary
#284F2D
secondary
#82517B
accent
#5FBBC9
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#060A06
muted
#7A7C7A