#30581F#30581F
#30581F is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.7% C 0.097 H 137.5°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #30581F |
|---|---|
| RGB | rgb(48, 88, 31) |
| HSL | hsl(102, 48%, 23%) |
| HSV | hsv(102, 65%, 35%) |
| CMYK | cmyk(45.5%, 0%, 64.8%, 65.5%) |
| CIE-LAB | lab(33.36, -25.98, 28.10) |
| CIE-LCH | lch(33.36, 38.27, 132.76°) |
| OKLab | oklab(41.68% -0.0717 0.0657) |
| OKLCH | oklch(41.68% 0.097 137.5) |
| XYZ | xyz(4.9558, 7.7065, 2.5224) |
| Luminance | 0.0771 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.03
Navy Green
#35530A
ΔE00 4.32
Forest
#0B5509
ΔE00 4.77
Deep Green
#02590F
ΔE00 5.10
Pine
#2B5D34
ΔE00 5.21
Bottle Green
#044A05
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30581F #471F58
analogous
#4C581F #30581F #1F582A
triadic
#30581F #1F3058 #581F30
tetradic
#30581F #1F4C58 #471F58 #582A1F
square
#30581F #1F4C58 #471F58 #582A1F
split-complementary
#30581F #2A1F58 #581F4C
monochromatic
#0C1708 #172B0F #30581F #49852F #61B33F
Accessibility & contrast
On white
8.26
#30581F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#30581F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30581F
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30581F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30581F | 1.00 | 8.26 | 2.54 | 8.26 |
| #FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B5119
Deuteranopia (green-blind)
#554D23
Tritanopia (blue-blind)
#2E554C
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #30581f; /* rgb */ color: rgb(48, 88, 31); /* oklch */ color: oklch(41.7% 0.097 137.5);
Tailwind
colors: {
custom: {
50: '#6c875d',
500: '#30581f',
950: '#000000',
},
}SCSS
$custom: #30581f; $custom-light: #6c875d; $custom-dark: #000000;
JSON
{
"hex": "#30581f",
"rgb": {
"r": 48,
"g": 88,
"b": 31
},
"hsl": {
"h": 102.105,
"s": 47.899,
"l": 23.333
},
"oklch": {
"l": 0.41677,
"c": 0.09721,
"h": 137.5
},
"luminance": 0.07707
}Semantic roles & 50–950 ramp
primary
#30581F
secondary
#78468D
accent
#50D7AF
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79