#306331#306331
#306331 is a mid, moderate green. Relative luminance 0.098; OKLCH L 45.1% C 0.096 H 144.2°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #306331 |
|---|---|
| RGB | rgb(48, 99, 49) |
| HSL | hsl(121, 35%, 29%) |
| HSV | hsv(121, 52%, 39%) |
| CMYK | cmyk(51.5%, 0%, 50.5%, 61.2%) |
| CIE-LAB | lab(37.43, -28.66, 23.17) |
| CIE-LCH | lch(37.43, 36.85, 141.05°) |
| OKLab | oklab(45.08% -0.0779 0.0563) |
| OKLCH | oklch(45.08% 0.096 144.2) |
| XYZ | xyz(6.2348, 9.7734, 4.4630) |
| Luminance | 0.0977 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 2.93
Forest Green
#2D5A27
ΔE00 3.10
Hunter Green
#355E3B
ΔE00 4.17
Spruce
#0A5F38
ΔE00 5.40
Deep Green
#02590F
ΔE00 6.52
Forest
#0B5509
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#306331 #633062
analogous
#496330 #306331 #30634B
triadic
#306331 #313063 #633130
tetradic
#306331 #304963 #633062 #634B30
square
#306331 #304963 #633062 #634B30
split-complementary
#306331 #4B3063 #633049
monochromatic
#0A150A #1C3A1D #306331 #448C45 #5DB05F
Accessibility & contrast
On white
7.11
#306331 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#306331 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #306331
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##306331 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##306331 | 1.00 | 7.11 | 2.95 | 7.11 |
| #FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#655B2D
Deuteranopia (green-blind)
#5E5634
Tritanopia (blue-blind)
#296157
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #306331; /* rgb */ color: rgb(48, 99, 49); /* oklch */ color: oklch(45.1% 0.096 144.2);
Tailwind
colors: {
custom: {
50: '#6c906a',
500: '#306331',
950: '#000000',
},
}SCSS
$custom: #306331; $custom-light: #6c906a; $custom-dark: #000000;
JSON
{
"hex": "#306331",
"rgb": {
"r": 48,
"g": 99,
"b": 49
},
"hsl": {
"h": 121.176,
"s": 34.694,
"l": 28.824
},
"oklch": {
"l": 0.45085,
"c": 0.09615,
"h": 144.2
},
"luminance": 0.09774
}Semantic roles & 50–950 ramp
primary
#306331
secondary
#945A93
accent
#5DC9CB
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070C06
muted
#7A7D7A