#306236#306236
#306236 is a dark, moderate green. Relative luminance 0.096; OKLCH L 44.9% C 0.089 H 146.5°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #306236 |
|---|---|
| RGB | rgb(48, 98, 54) |
| HSL | hsl(127, 34%, 29%) |
| HSV | hsv(127, 51%, 38%) |
| CMYK | cmyk(51%, 0%, 44.9%, 61.6%) |
| CIE-LAB | lab(37.17, -27.34, 19.96) |
| CIE-LCH | lch(37.17, 33.85, 143.87°) |
| OKLab | oklab(44.9% -0.0743 0.0492) |
| OKLCH | oklch(44.9% 0.089 146.5) |
| XYZ | xyz(6.2521, 9.6296, 5.0186) |
| Luminance | 0.0963 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 1.81
Hunter Green
#355E3B
ΔE00 2.80
Forest Green
#2D5A27
ΔE00 3.55
Spruce
#0A5F38
ΔE00 4.48
Deep Green
#02590F
ΔE00 7.48
Forest
#0B5509
ΔE00 8.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#306236 #62305C
analogous
#436230 #306236 #30624F
triadic
#306236 #363062 #623630
tetradic
#306236 #304362 #62305C #624F30
square
#306236 #304362 #62305C #624F30
split-complementary
#306236 #4F3062 #623043
monochromatic
#0A150B #1C391F #306236 #448B4D #5DB067
Accessibility & contrast
On white
7.18
#306236 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#306236 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #306236
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##306236 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##306236 | 1.00 | 7.18 | 2.93 | 7.18 |
| #FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#635A33
Deuteranopia (green-blind)
#5C5639
Tritanopia (blue-blind)
#286057
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #306236; /* rgb */ color: rgb(48, 98, 54); /* oklch */ color: oklch(44.9% 0.089 146.5);
Tailwind
colors: {
custom: {
50: '#6c8f6d',
500: '#306236',
950: '#000000',
},
}SCSS
$custom: #306236; $custom-light: #6c8f6d; $custom-dark: #000000;
JSON
{
"hex": "#306236",
"rgb": {
"r": 48,
"g": 98,
"b": 54
},
"hsl": {
"h": 127.2,
"s": 34.247,
"l": 28.627
},
"oklch": {
"l": 0.44896,
"c": 0.08909,
"h": 146.5
},
"luminance": 0.0963
}Semantic roles & 50–950 ramp
primary
#306236
secondary
#935A8D
accent
#5DBDCA
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070C07
muted
#7A7D7A