#304A2A#304A2A
#304A2A is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.9% C 0.061 H 139.8°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).
Color values
| HEX | #304A2A |
|---|---|
| RGB | rgb(48, 74, 42) |
| HSL | hsl(109, 28%, 23%) |
| HSV | hsv(109, 43%, 29%) |
| CMYK | cmyk(35.1%, 0%, 43.2%, 71%) |
| CIE-LAB | lab(28.62, -17.20, 16.04) |
| CIE-LCH | lch(28.62, 23.52, 136.99°) |
| OKLab | oklab(37.87% -0.047 0.0397) |
| OKLCH | oklch(37.87% 0.061 139.8) |
| XYZ | xyz(4.0855, 5.6929, 3.0736) |
| Luminance | 0.0569 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine Green
#0A481E
ΔE00 6.36
Hunter Green
#355E3B
ΔE00 6.85
Evergreen
#05472A
ΔE00 6.92
Forest Green
#2D5A27
ΔE00 7.01
Pine
#2B5D34
ΔE00 7.20
Forrest Green
#154406
ΔE00 7.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#304A2A #442A4A
analogous
#404A2A #304A2A #2A4A34
triadic
#304A2A #2A304A #4A2A30
tetradic
#304A2A #2A404A #442A4A #4A342A
square
#304A2A #2A404A #442A4A #4A342A
split-complementary
#304A2A #342A4A #4A2A40
monochromatic
#0D140B #172314 #304A2A #497140 #639856
Accessibility & contrast
On white
9.82
#304A2A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#304A2A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #304A2A
9.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##304A2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##304A2A | 1.00 | 9.82 | 2.14 | 9.82 |
| #FFFFFF | 9.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C4528
Deuteranopia (green-blind)
#48432C
Tritanopia (blue-blind)
#2E4842
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #304a2a; /* rgb */ color: rgb(48, 74, 42); /* oklch */ color: oklch(37.9% 0.061 139.8);
Tailwind
colors: {
custom: {
50: '#697c64',
500: '#304a2a',
950: '#000000',
},
}SCSS
$custom: #304a2a; $custom-light: #697c64; $custom-dark: #000000;
JSON
{
"hex": "#304a2a",
"rgb": {
"r": 48,
"g": 74,
"b": 42
},
"hsl": {
"h": 108.75,
"s": 27.586,
"l": 22.745
},
"oklch": {
"l": 0.37871,
"c": 0.06147,
"h": 139.8
},
"luminance": 0.05693
}Semantic roles & 50–950 ramp
primary
#304A2A
secondary
#74547C
accent
#64C4B2
background
#F6F7F5
surface
#EBEEEA
border
#C6C9C6
text
#060905
muted
#7A7B79