#305826#305826
#305826 is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.8% C 0.090 H 139.6°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).
Color values
| HEX | #305826 |
|---|---|
| RGB | rgb(48, 88, 38) |
| HSL | hsl(108, 40%, 25%) |
| HSV | hsv(108, 57%, 35%) |
| CMYK | cmyk(45.5%, 0%, 56.8%, 65.5%) |
| CIE-LAB | lab(33.45, -25.08, 24.44) |
| CIE-LCH | lch(33.45, 35.02, 135.74°) |
| OKLab | oklab(41.78% -0.0687 0.0584) |
| OKLCH | oklch(41.78% 0.09 139.6) |
| XYZ | xyz(5.0583, 7.7475, 3.0622) |
| Luminance | 0.0775 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 1.01
Pine
#2B5D34
ΔE00 3.76
Hunter Green
#355E3B
ΔE00 4.91
Forest
#0B5509
ΔE00 5.65
Navy Green
#35530A
ΔE00 5.73
Deep Green
#02590F
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#305826 #4E2658
analogous
#495826 #305826 #265835
triadic
#305826 #263058 #582630
tetradic
#305826 #264958 #4E2658 #583526
square
#305826 #264958 #4E2658 #583526
split-complementary
#305826 #352658 #582649
monochromatic
#0C1509 #192D14 #305826 #478338 #5FAD4B
Accessibility & contrast
On white
8.24
#305826 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#305826 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #305826
8.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##305826 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##305826 | 1.00 | 8.24 | 2.55 | 8.24 |
| #FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A5121
Deuteranopia (green-blind)
#554D29
Tritanopia (blue-blind)
#2D554D
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #305826; /* rgb */ color: rgb(48, 88, 38); /* oklch */ color: oklch(41.8% 0.090 139.6);
Tailwind
colors: {
custom: {
50: '#6b8762',
500: '#305826',
950: '#000000',
},
}SCSS
$custom: #305826; $custom-light: #6b8762; $custom-dark: #000000;
JSON
{
"hex": "#305826",
"rgb": {
"r": 48,
"g": 88,
"b": 38
},
"hsl": {
"h": 108,
"s": 39.683,
"l": 24.706
},
"oklch": {
"l": 0.41777,
"c": 0.09019,
"h": 139.6
},
"luminance": 0.07748
}Semantic roles & 50–950 ramp
primary
#305826
secondary
#7F4F8B
accent
#58D0B8
background
#F6F8F5
surface
#EBEFEA
border
#C6CAC6
text
#070B05
muted
#7A7C79