#306239#306239
#306239 is a dark, moderate green. Relative luminance 0.097; OKLCH L 45.0% C 0.086 H 148.1°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #306239 |
|---|---|
| RGB | rgb(48, 98, 57) |
| HSL | hsl(131, 34%, 29%) |
| HSV | hsv(131, 51%, 38%) |
| CMYK | cmyk(51%, 0%, 41.8%, 61.6%) |
| CIE-LAB | lab(37.22, -26.79, 18.28) |
| CIE-LCH | lch(37.22, 32.43, 145.70°) |
| OKLab | oklab(44.96% -0.0728 0.0454) |
| OKLCH | oklch(44.96% 0.086 148.1) |
| XYZ | xyz(6.3247, 9.6587, 5.4011) |
| Luminance | 0.0966 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 1.71
Hunter Green
#355E3B
ΔE00 2.26
Spruce
#0A5F38
ΔE00 4.15
Forest Green
#2D5A27
ΔE00 4.16
Deep Green
#02590F
ΔE00 8.14
Forest
#0B5509
ΔE00 8.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#306239 #623059
analogous
#406230 #306239 #306252
triadic
#306239 #393062 #623930
tetradic
#306239 #304062 #623059 #625230
square
#306239 #304062 #623059 #625230
split-complementary
#306239 #523062 #623040
monochromatic
#0A150C #1C3921 #306239 #448B51 #5DB06C
Accessibility & contrast
On white
7.16
#306239 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#306239 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #306239
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##306239 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##306239 | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#635B36
Deuteranopia (green-blind)
#5C563C
Tritanopia (blue-blind)
#276058
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #306239; /* rgb */ color: rgb(48, 98, 57); /* oklch */ color: oklch(45.0% 0.086 148.1);
Tailwind
colors: {
custom: {
50: '#6c8f70',
500: '#306239',
950: '#000000',
},
}SCSS
$custom: #306239; $custom-light: #6c8f70; $custom-dark: #000000;
JSON
{
"hex": "#306239",
"rgb": {
"r": 48,
"g": 98,
"b": 57
},
"hsl": {
"h": 130.8,
"s": 34.247,
"l": 28.627
},
"oklch": {
"l": 0.44957,
"c": 0.08577,
"h": 148.1
},
"luminance": 0.09659
}Semantic roles & 50–950 ramp
primary
#306239
secondary
#935A89
accent
#5DB7CA
background
#F6F8F6
surface
#ECF0EC
border
#C7CBC7
text
#070C07
muted
#7A7D7A