#304C28#304C28
#304C28 is a dark, moderate green. Relative luminance 0.059; OKLCH L 38.4% C 0.068 H 138.9°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).
Color values
| HEX | #304C28 |
|---|---|
| RGB | rgb(48, 76, 40) |
| HSL | hsl(107, 31%, 23%) |
| HSV | hsv(107, 47%, 30%) |
| CMYK | cmyk(36.8%, 0%, 47.4%, 70.2%) |
| CIE-LAB | lab(29.29, -18.63, 18.11) |
| CIE-LCH | lch(29.29, 25.98, 135.80°) |
| OKLab | oklab(38.4% -0.0509 0.0444) |
| OKLCH | oklch(38.4% 0.068 138.9) |
| XYZ | xyz(4.1862, 5.9503, 2.9350) |
| Luminance | 0.0595 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 5.81
Pine Green
#0A481E
ΔE00 5.86
Hunter Green
#355E3B
ΔE00 6.29
Pine
#2B5D34
ΔE00 6.37
Evergreen
#05472A
ΔE00 7.06
Forrest Green
#154406
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#304C28 #44284C
analogous
#424C28 #304C28 #284C32
triadic
#304C28 #28304C #4C2830
tetradic
#304C28 #28424C #44284C #4C3228
square
#304C28 #28424C #44284C #4C3228
split-complementary
#304C28 #32284C #4C2842
monochromatic
#0D140B #172413 #304C28 #49743D #639C52
Accessibility & contrast
On white
9.59
#304C28 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#304C28 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #304C28
9.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##304C28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##304C28 | 1.00 | 9.59 | 2.19 | 9.59 |
| #FFFFFF | 9.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E4725
Deuteranopia (green-blind)
#4A442A
Tritanopia (blue-blind)
#2E4A43
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #304c28; /* rgb */ color: rgb(48, 76, 40); /* oklch */ color: oklch(38.4% 0.068 138.9);
Tailwind
colors: {
custom: {
50: '#6a7e62',
500: '#304c28',
950: '#000000',
},
}SCSS
$custom: #304c28; $custom-light: #6a7e62; $custom-dark: #000000;
JSON
{
"hex": "#304c28",
"rgb": {
"r": 48,
"g": 76,
"b": 40
},
"hsl": {
"h": 106.667,
"s": 31.034,
"l": 22.745
},
"oklch": {
"l": 0.38396,
"c": 0.06755,
"h": 138.9
},
"luminance": 0.0595
}Semantic roles & 50–950 ramp
primary
#304C28
secondary
#74517E
accent
#61C7B0
background
#F6F7F5
surface
#EBEEEA
border
#C6C9C6
text
#060A05
muted
#7A7C79