#30542E#30542E
#30542E is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.8% C 0.075 H 142.9°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).
Color values
| HEX | #30542E |
|---|---|
| RGB | rgb(48, 84, 46) |
| HSL | hsl(117, 29%, 25%) |
| HSV | hsv(117, 45%, 33%) |
| CMYK | cmyk(42.9%, 0%, 45.2%, 67.1%) |
| CIE-LAB | lab(32.18, -21.82, 18.23) |
| CIE-LCH | lch(32.18, 28.43, 140.11°) |
| OKLab | oklab(40.78% -0.0595 0.0449) |
| OKLCH | oklch(40.78% 0.075 142.9) |
| XYZ | xyz(4.8822, 7.1660, 3.7102) |
| Luminance | 0.0717 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.51
Hunter Green
#355E3B
ΔE00 3.63
Forest Green
#2D5A27
ΔE00 3.68
Pine Green
#0A481E
ΔE00 5.87
Spruce
#0A5F38
ΔE00 6.59
Evergreen
#05472A
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30542E #522E54
analogous
#43542E #30542E #2E543F
triadic
#30542E #2E3054 #542E30
tetradic
#30542E #2E4354 #522E54 #543F2E
square
#30542E #2E4354 #522E54 #543F2E
split-complementary
#30542E #3F2E54 #542E43
monochromatic
#0B140B #192C18 #30542E #477C44 #5DA359
Accessibility & contrast
On white
8.63
#30542E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#30542E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30542E
8.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30542E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30542E | 1.00 | 8.63 | 2.43 | 8.63 |
| #FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#564E2B
Deuteranopia (green-blind)
#504A30
Tritanopia (blue-blind)
#2C524B
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #30542e; /* rgb */ color: rgb(48, 84, 46); /* oklch */ color: oklch(40.8% 0.075 142.9);
Tailwind
colors: {
custom: {
50: '#6a8467',
500: '#30542e',
950: '#000000',
},
}SCSS
$custom: #30542e; $custom-light: #6a8467; $custom-dark: #000000;
JSON
{
"hex": "#30542e",
"rgb": {
"r": 48,
"g": 84,
"b": 46
},
"hsl": {
"h": 116.842,
"s": 29.231,
"l": 25.49
},
"oklch": {
"l": 0.40782,
"c": 0.07451,
"h": 142.9
},
"luminance": 0.07166
}Semantic roles & 50–950 ramp
primary
#30542E
secondary
#835886
accent
#62C5C0
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#070B06
muted
#7A7C7A