#304E2E#304E2E
#304E2E is a dark, moderate green. Relative luminance 0.063; OKLCH L 39.1% C 0.064 H 142.8°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).
Color values
| HEX | #304E2E |
|---|---|
| RGB | rgb(48, 78, 46) |
| HSL | hsl(116, 26%, 24%) |
| HSV | hsv(116, 41%, 31%) |
| CMYK | cmyk(38.5%, 0%, 41%, 69.4%) |
| CIE-LAB | lab(30.09, -18.66, 15.51) |
| CIE-LCH | lch(30.09, 24.26, 140.26°) |
| OKLab | oklab(39.09% -0.0509 0.0386) |
| OKLCH | oklch(39.09% 0.064 142.8) |
| XYZ | xyz(4.4363, 6.2742, 3.5615) |
| Luminance | 0.0627 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Hunter Green
#355E3B
ΔE00 5.38
Pine
#2B5D34
ΔE00 5.81
Pine Green
#0A481E
ΔE00 6.08
Forest Green
#2D5A27
ΔE00 6.10
Evergreen
#05472A
ΔE00 6.42
British Racing Green
#05480D
ΔE00 8.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#304E2E #4C2E4E
analogous
#404E2E #304E2E #2E4E3C
triadic
#304E2E #2E304E #4E2E30
tetradic
#304E2E #2E404E #4C2E4E #4E3C2E
square
#304E2E #2E404E #4C2E4E #4E3C2E
split-complementary
#304E2E #3C2E4E #4E2E40
monochromatic
#0C130B #182817 #304E2E #487445 #5F9B5B
Accessibility & contrast
On white
9.31
#304E2E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#304E2E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #304E2E
9.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##304E2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##304E2E | 1.00 | 9.31 | 2.25 | 9.31 |
| #FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F492C
Deuteranopia (green-blind)
#4B4630
Tritanopia (blue-blind)
#2D4C46
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #304e2e; /* rgb */ color: rgb(48, 78, 46); /* oklch */ color: oklch(39.1% 0.064 142.8);
Tailwind
colors: {
custom: {
50: '#6a8067',
500: '#304e2e',
950: '#000000',
},
}SCSS
$custom: #304e2e; $custom-light: #6a8067; $custom-dark: #000000;
JSON
{
"hex": "#304e2e",
"rgb": {
"r": 48,
"g": 78,
"b": 46
},
"hsl": {
"h": 116.25,
"s": 25.806,
"l": 24.314
},
"oklch": {
"l": 0.39086,
"c": 0.06383,
"h": 142.8
},
"luminance": 0.06274
}Semantic roles & 50–950 ramp
primary
#304E2E
secondary
#7D587F
accent
#66C2BC
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#060A06
muted
#7A7C7A