#30731E#30731E
#30731E is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.4% C 0.136 H 139.8°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #30731E |
|---|---|
| RGB | rgb(48, 115, 30) |
| HSL | hsl(107, 59%, 28%) |
| HSV | hsv(107, 74%, 45%) |
| CMYK | cmyk(58.3%, 0%, 73.9%, 54.9%) |
| CIE-LAB | lab(42.74, -37.92, 38.70) |
| CIE-LCH | lch(42.74, 54.18, 134.42°) |
| OKLab | oklab(49.38% -0.1041 0.088) |
| OKLCH | oklch(49.38% 0.136 139.8) |
| XYZ | xyz(7.5837, 12.9829, 3.3344) |
| Luminance | 0.1298 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.04
Darkish Green
#287C37
ΔE00 4.99
Green
#008000
ΔE00 5.71
Dark Grass Green
#388004
ΔE00 5.80
Darkgreen
#006400
ΔE00 6.00
Darkolivegreen
#556B2F
ΔE00 8.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30731E #611E73
analogous
#5A731E #30731E #1E7336
triadic
#30731E #1E3073 #731E30
tetradic
#30731E #1E5A73 #611E73 #73361E
square
#30731E #1E5A73 #611E73 #73361E
split-complementary
#30731E #361E73 #731E5A
monochromatic
#0A1806 #1C4211 #30731E #44A42B #5DCD3F
Accessibility & contrast
On white
5.84
#30731E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#30731E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #30731E
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30731E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30731E | 1.00 | 5.84 | 3.60 | 5.84 |
| #FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766810
Deuteranopia (green-blind)
#6E6326
Tritanopia (blue-blind)
#286F62
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #30731e; /* rgb */ color: rgb(48, 115, 30); /* oklch */ color: oklch(49.4% 0.136 139.8);
Tailwind
colors: {
custom: {
50: '#709c5f',
500: '#30731e',
950: '#000000',
},
}SCSS
$custom: #30731e; $custom-light: #709c5f; $custom-dark: #000000;
JSON
{
"hex": "#30731e",
"rgb": {
"r": 48,
"g": 115,
"b": 30
},
"hsl": {
"h": 107.294,
"s": 58.621,
"l": 28.431
},
"oklch": {
"l": 0.49376,
"c": 0.13631,
"h": 139.8
},
"luminance": 0.12984
}Semantic roles & 50–950 ramp
primary
#30731E
secondary
#9246A7
accent
#46E2C1
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79