#30541F#30541F
#30541F is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.5% C 0.091 H 136.8°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #30541F |
|---|---|
| RGB | rgb(48, 84, 31) |
| HSL | hsl(101, 46%, 23%) |
| HSV | hsv(101, 63%, 33%) |
| CMYK | cmyk(42.9%, 0%, 63.1%, 67.1%) |
| CIE-LAB | lab(31.96, -24.04, 26.49) |
| CIE-LCH | lch(31.96, 35.77, 132.22°) |
| OKLab | oklab(40.53% -0.0664 0.0622) |
| OKLCH | oklch(40.53% 0.091 136.8) |
| XYZ | xyz(4.6364, 7.0677, 2.4160) |
| Luminance | 0.0707 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.61
Navy Green
#35530A
ΔE00 4.31
Forest
#0B5509
ΔE00 5.35
Pine
#2B5D34
ΔE00 5.44
Forrest Green
#154406
ΔE00 5.91
Deep Green
#02590F
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30541F #431F54
analogous
#4A541F #30541F #1F5429
triadic
#30541F #1F3054 #541F30
tetradic
#30541F #1F4A54 #431F54 #54291F
square
#30541F #1F4A54 #431F54 #54291F
split-complementary
#30541F #291F54 #541F4A
monochromatic
#0D1608 #16270F #30541F #4A812F #63AD40
Accessibility & contrast
On white
8.70
#30541F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#30541F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30541F
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30541F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30541F | 1.00 | 8.70 | 2.41 | 8.70 |
| #FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#574D1A
Deuteranopia (green-blind)
#524A23
Tritanopia (blue-blind)
#2E5148
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #30541f; /* rgb */ color: rgb(48, 84, 31); /* oklch */ color: oklch(40.5% 0.091 136.8);
Tailwind
colors: {
custom: {
50: '#6b845d',
500: '#30541f',
950: '#000000',
},
}SCSS
$custom: #30541f; $custom-light: #6b845d; $custom-dark: #000000;
JSON
{
"hex": "#30541f",
"rgb": {
"r": 48,
"g": 84,
"b": 31
},
"hsl": {
"h": 100.755,
"s": 46.087,
"l": 22.549
},
"oklch": {
"l": 0.4053,
"c": 0.09097,
"h": 136.8
},
"luminance": 0.07068
}Semantic roles & 50–950 ramp
primary
#30541F
secondary
#734689
accent
#52D6AC
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79