#284B2B#284B2B
#284B2B is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.7% C 0.068 H 146.0°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).
Color values
| HEX | #284B2B |
|---|---|
| RGB | rgb(40, 75, 43) |
| HSL | hsl(125, 30%, 23%) |
| HSV | hsv(125, 47%, 29%) |
| CMYK | cmyk(46.7%, 0%, 42.7%, 70.6%) |
| CIE-LAB | lab(28.53, -20.57, 15.22) |
| CIE-LCH | lch(28.53, 25.59, 143.51°) |
| OKLab | oklab(37.68% -0.056 0.0378) |
| OKLCH | oklch(37.68% 0.068 146) |
| XYZ | xyz(3.8270, 5.6574, 3.1754) |
| Luminance | 0.0566 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine Green
#0A481E
ΔE00 4.71
Evergreen
#05472A
ΔE00 4.85
Pine
#2B5D34
ΔE00 6.15
Hunter Green
#355E3B
ΔE00 6.16
Forest Green
#2D5A27
ΔE00 6.53
British Racing Green
#05480D
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284B2B #4B2848
analogous
#364B28 #284B2B #284B3D
triadic
#284B2B #2B284B #4B2B28
tetradic
#284B2B #28364B #4B2848 #4B3D28
square
#284B2B #28364B #4B2848 #4B3D28
split-complementary
#284B2B #3D284B #4B2836
monochromatic
#0B140B #132314 #284B2B #3D7342 #539B59
Accessibility & contrast
On white
9.85
#284B2B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#284B2B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284B2B
9.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284B2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284B2B | 1.00 | 9.85 | 2.13 | 9.85 |
| #FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C4529
Deuteranopia (green-blind)
#47422D
Tritanopia (blue-blind)
#234943
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #284b2b; /* rgb */ color: rgb(40, 75, 43); /* oklch */ color: oklch(37.7% 0.068 146.0);
Tailwind
colors: {
custom: {
50: '#647d64',
500: '#284b2b',
950: '#000000',
},
}SCSS
$custom: #284b2b; $custom-light: #647d64; $custom-dark: #000000;
JSON
{
"hex": "#284b2b",
"rgb": {
"r": 40,
"g": 75,
"b": 43
},
"hsl": {
"h": 125.143,
"s": 30.435,
"l": 22.549
},
"oklch": {
"l": 0.37676,
"c": 0.06754,
"h": 146
},
"luminance": 0.05658
}Semantic roles & 50–950 ramp
primary
#284B2B
secondary
#7D517A
accent
#61BEC7
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#050905
muted
#7A7B7A