#306226#306226
#306226 is a dark, moderate green. Relative luminance 0.095; OKLCH L 44.6% C 0.106 H 140.4°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).
Color values
| HEX | #306226 |
|---|---|
| RGB | rgb(48, 98, 38) |
| HSL | hsl(110, 44%, 27%) |
| HSV | hsv(110, 61%, 38%) |
| CMYK | cmyk(51%, 0%, 61.2%, 61.6%) |
| CIE-LAB | lab(36.94, -29.79, 28.57) |
| CIE-LCH | lch(36.94, 41.28, 136.20°) |
| OKLab | oklab(44.63% -0.0815 0.0674) |
| OKLCH | oklch(44.63% 0.106 140.4) |
| XYZ | xyz(5.9362, 9.5033, 3.3549) |
| Luminance | 0.0950 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.04
Pine
#2B5D34
ΔE00 4.88
Deep Green
#02590F
ΔE00 5.17
Forest
#0B5509
ΔE00 5.76
Darkgreen
#006400
ΔE00 5.82
Hunter Green
#355E3B
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#306226 #582662
analogous
#4E6226 #306226 #26623A
triadic
#306226 #263062 #622630
tetradic
#306226 #264E62 #582662 #623A26
square
#306226 #264E62 #582662 #623A26
split-complementary
#306226 #3A2662 #62264E
monochromatic
#0B1609 #1A3615 #306226 #468E37 #5CB94A
Accessibility & contrast
On white
7.24
#306226 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#306226 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #306226
7.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##306226 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##306226 | 1.00 | 7.24 | 2.90 | 7.24 |
| #FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#655A20
Deuteranopia (green-blind)
#5E552B
Tritanopia (blue-blind)
#2B5F55
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #306226; /* rgb */ color: rgb(48, 98, 38); /* oklch */ color: oklch(44.6% 0.106 140.4);
Tailwind
colors: {
custom: {
50: '#6d8f62',
500: '#306226',
950: '#000000',
},
}SCSS
$custom: #306226; $custom-light: #6d8f62; $custom-dark: #000000;
JSON
{
"hex": "#306226",
"rgb": {
"r": 48,
"g": 98,
"b": 38
},
"hsl": {
"h": 110,
"s": 44.118,
"l": 26.667
},
"oklch": {
"l": 0.44629,
"c": 0.10582,
"h": 140.4
},
"luminance": 0.09504
}Semantic roles & 50–950 ramp
primary
#306226
secondary
#894F95
accent
#54D4BF
background
#F6F8F5
surface
#ECF0EA
border
#C7CBC6
text
#070C05
muted
#7A7D79