#304B2A#304B2A
#304B2A is a dark, moderate green. Relative luminance 0.058; OKLCH L 38.2% C 0.063 H 140.0°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).
Color values
| HEX | #304B2A |
|---|---|
| RGB | rgb(48, 75, 42) |
| HSL | hsl(109, 28%, 23%) |
| HSV | hsv(109, 44%, 29%) |
| CMYK | cmyk(36%, 0%, 44%, 70.6%) |
| CIE-LAB | lab(28.97, -17.74, 16.49) |
| CIE-LCH | lch(28.97, 24.23, 137.09°) |
| OKLab | oklab(38.15% -0.0485 0.0407) |
| OKLCH | oklch(38.15% 0.063 140) |
| XYZ | xyz(4.1528, 5.8275, 3.0961) |
| Luminance | 0.0583 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine Green
#0A481E
ΔE00 6.15
Hunter Green
#355E3B
ΔE00 6.50
Forest Green
#2D5A27
ΔE00 6.58
Pine
#2B5D34
ΔE00 6.79
Evergreen
#05472A
ΔE00 6.85
Forrest Green
#154406
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#304B2A #452A4B
analogous
#404B2A #304B2A #2A4B34
triadic
#304B2A #2A304B #4B2A30
tetradic
#304B2A #2A404B #452A4B #4B342A
square
#304B2A #2A404B #452A4B #4B342A
split-complementary
#304B2A #342A4B #4B2A40
monochromatic
#0D140B #172414 #304B2A #497240 #629956
Accessibility & contrast
On white
9.70
#304B2A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#304B2A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #304B2A
9.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##304B2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##304B2A | 1.00 | 9.70 | 2.17 | 9.70 |
| #FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D4628
Deuteranopia (green-blind)
#49432C
Tritanopia (blue-blind)
#2E4943
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #304b2a; /* rgb */ color: rgb(48, 75, 42); /* oklch */ color: oklch(38.2% 0.063 140.0);
Tailwind
colors: {
custom: {
50: '#697d64',
500: '#304b2a',
950: '#000000',
},
}SCSS
$custom: #304b2a; $custom-light: #697d64; $custom-dark: #000000;
JSON
{
"hex": "#304b2a",
"rgb": {
"r": 48,
"g": 75,
"b": 42
},
"hsl": {
"h": 109.091,
"s": 28.205,
"l": 22.941
},
"oklch": {
"l": 0.38153,
"c": 0.0633,
"h": 140
},
"luminance": 0.05828
}Semantic roles & 50–950 ramp
primary
#304B2A
secondary
#76547D
accent
#63C5B3
background
#F6F7F5
surface
#EBEEEA
border
#C6C9C6
text
#060905
muted
#7A7B79