#284F2F#284F2F
#284F2F is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.9% C 0.070 H 148.3°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).
Color values
| HEX | #284F2F |
|---|---|
| RGB | rgb(40, 79, 47) |
| HSL | hsl(131, 33%, 23%) |
| HSV | hsv(131, 49%, 31%) |
| CMYK | cmyk(49.4%, 0%, 40.5%, 69%) |
| CIE-LAB | lab(30.03, -21.86, 14.73) |
| CIE-LCH | lch(30.03, 26.36, 146.02°) |
| OKLab | oklab(38.92% -0.0595 0.0368) |
| OKLCH | oklch(38.92% 0.07 148.3) |
| XYZ | xyz(4.1839, 6.2480, 3.6743) |
| Luminance | 0.0625 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Evergreen
#05472A
ΔE00 4.76
Pine Green
#0A481E
ΔE00 4.87
Hunter Green
#355E3B
ΔE00 4.94
Pine
#2B5D34
ΔE00 4.94
Forest Green
#2D5A27
ΔE00 5.89
Spruce
#0A5F38
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284F2F #4F2848
analogous
#344F28 #284F2F #284F42
triadic
#284F2F #2F284F #4F2F28
tetradic
#284F2F #28344F #4F2848 #4F4228
square
#284F2F #28344F #4F2848 #4F4228
split-complementary
#284F2F #42284F #4F2834
monochromatic
#0A140C #132617 #284F2F #3D7847 #51A05F
Accessibility & contrast
On white
9.33
#284F2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#284F2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284F2F
9.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284F2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284F2F | 1.00 | 9.33 | 2.25 | 9.33 |
| #FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#50492D
Deuteranopia (green-blind)
#4A4531
Tritanopia (blue-blind)
#214E47
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #284f2f; /* rgb */ color: rgb(40, 79, 47); /* oklch */ color: oklch(38.9% 0.070 148.3);
Tailwind
colors: {
custom: {
50: '#658068',
500: '#284f2f',
950: '#000000',
},
}SCSS
$custom: #284f2f; $custom-light: #658068; $custom-dark: #000000;
JSON
{
"hex": "#284f2f",
"rgb": {
"r": 40,
"g": 79,
"b": 47
},
"hsl": {
"h": 130.769,
"s": 32.773,
"l": 23.333
},
"oklch": {
"l": 0.38923,
"c": 0.06991,
"h": 148.3
},
"luminance": 0.06248
}Semantic roles & 50–950 ramp
primary
#284F2F
secondary
#825179
accent
#5FB6C9
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#060A06
muted
#7A7C7A