#306339#306339
#306339 is a mid, moderate green. Relative luminance 0.098; OKLCH L 45.2% C 0.087 H 147.9°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #306339 |
|---|---|
| RGB | rgb(48, 99, 57) |
| HSL | hsl(131, 35%, 29%) |
| HSV | hsv(131, 52%, 39%) |
| CMYK | cmyk(51.5%, 0%, 42.4%, 61.2%) |
| CIE-LAB | lab(37.57, -27.27, 18.73) |
| CIE-LCH | lch(37.57, 33.09, 145.52°) |
| OKLab | oklab(45.24% -0.0741 0.0464) |
| OKLCH | oklch(45.24% 0.087 147.9) |
| XYZ | xyz(6.4189, 9.8470, 5.4325) |
| Luminance | 0.0985 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 2.01
Hunter Green
#355E3B
ΔE00 2.62
Spruce
#0A5F38
ΔE00 4.23
Forest Green
#2D5A27
ΔE00 4.24
Deep Green
#02590F
ΔE00 8.07
Forest
#0B5509
ΔE00 8.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#306339 #63305A
analogous
#416330 #306339 #306353
triadic
#306339 #393063 #633930
tetradic
#306339 #304163 #63305A #635330
square
#306339 #304163 #63305A #635330
split-complementary
#306339 #533063 #633041
monochromatic
#0A150C #1C3A21 #306339 #448C51 #5DB06C
Accessibility & contrast
On white
7.07
#306339 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#306339 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #306339
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##306339 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##306339 | 1.00 | 7.07 | 2.97 | 7.07 |
| #FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#645B36
Deuteranopia (green-blind)
#5D563C
Tritanopia (blue-blind)
#276159
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #306339; /* rgb */ color: rgb(48, 99, 57); /* oklch */ color: oklch(45.2% 0.087 147.9);
Tailwind
colors: {
custom: {
50: '#6c9070',
500: '#306339',
950: '#000000',
},
}SCSS
$custom: #306339; $custom-light: #6c9070; $custom-dark: #000000;
JSON
{
"hex": "#306339",
"rgb": {
"r": 48,
"g": 99,
"b": 57
},
"hsl": {
"h": 130.588,
"s": 34.694,
"l": 28.824
},
"oklch": {
"l": 0.45238,
"c": 0.08742,
"h": 147.9
},
"luminance": 0.09847
}Semantic roles & 50–950 ramp
primary
#306339
secondary
#945A8A
accent
#5DB7CB
background
#F6F8F6
surface
#ECF0EC
border
#C7CBC7
text
#070C07
muted
#7A7D7A