#306231#306231
#306231 is a dark, moderate green. Relative luminance 0.096; OKLCH L 44.8% C 0.095 H 144.2°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #306231 |
|---|---|
| RGB | rgb(48, 98, 49) |
| HSL | hsl(121, 34%, 29%) |
| HSV | hsv(121, 51%, 38%) |
| CMYK | cmyk(51%, 0%, 50%, 61.6%) |
| CIE-LAB | lab(37.09, -28.19, 22.73) |
| CIE-LCH | lch(37.09, 36.22, 141.12°) |
| OKLab | oklab(44.8% -0.0767 0.0553) |
| OKLCH | oklch(44.8% 0.095 144.2) |
| XYZ | xyz(6.1407, 9.5850, 4.4317) |
| Luminance | 0.0959 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 2.60
Forest Green
#2D5A27
ΔE00 2.83
Hunter Green
#355E3B
ΔE00 3.88
Spruce
#0A5F38
ΔE00 5.26
Deep Green
#02590F
ΔE00 6.52
Forest
#0B5509
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#306231 #623061
analogous
#486230 #306231 #30624A
triadic
#306231 #313062 #623130
tetradic
#306231 #304862 #623061 #624A30
square
#306231 #304862 #623061 #624A30
split-complementary
#306231 #4A3062 #623048
monochromatic
#0A150A #1C391C #306231 #448B46 #5DB05E
Accessibility & contrast
On white
7.20
#306231 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#306231 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #306231
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##306231 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##306231 | 1.00 | 7.20 | 2.92 | 7.20 |
| #FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#645A2D
Deuteranopia (green-blind)
#5D5534
Tritanopia (blue-blind)
#296056
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #306231; /* rgb */ color: rgb(48, 98, 49); /* oklch */ color: oklch(44.8% 0.095 144.2);
Tailwind
colors: {
custom: {
50: '#6c8f6a',
500: '#306231',
950: '#000000',
},
}SCSS
$custom: #306231; $custom-light: #6c8f6a; $custom-dark: #000000;
JSON
{
"hex": "#306231",
"rgb": {
"r": 48,
"g": 98,
"b": 49
},
"hsl": {
"h": 121.2,
"s": 34.247,
"l": 28.627
},
"oklch": {
"l": 0.44802,
"c": 0.09455,
"h": 144.2
},
"luminance": 0.09585
}Semantic roles & 50–950 ramp
primary
#306231
secondary
#935A92
accent
#5DC8CA
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070C06
muted
#7A7D7A