#306229#306229
#306229 is a dark, moderate green. Relative luminance 0.095; OKLCH L 44.7% C 0.103 H 141.3°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #306229 |
|---|---|
| RGB | rgb(48, 98, 41) |
| HSL | hsl(113, 41%, 27%) |
| HSV | hsv(113, 58%, 38%) |
| CMYK | cmyk(51%, 0%, 58.2%, 61.6%) |
| CIE-LAB | lab(36.97, -29.39, 27.02) |
| CIE-LCH | lch(36.97, 39.93, 137.41°) |
| OKLab | oklab(44.67% -0.0803 0.0643) |
| OKLCH | oklch(44.67% 0.103 141.3) |
| XYZ | xyz(5.9866, 9.5234, 3.6201) |
| Luminance | 0.0952 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.77
Pine
#2B5D34
ΔE00 4.26
Deep Green
#02590F
ΔE00 5.42
Hunter Green
#355E3B
ΔE00 5.62
Forest
#0B5509
ΔE00 6.04
Darkgreen
#006400
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#306229 #5B2962
analogous
#4C6229 #306229 #29623F
triadic
#306229 #293062 #622930
tetradic
#306229 #294C62 #5B2962 #623F29
square
#306229 #294C62 #5B2962 #623F29
split-complementary
#306229 #3F2962 #62294C
monochromatic
#0B1609 #1B3717 #306229 #458D3B #5CB650
Accessibility & contrast
On white
7.23
#306229 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#306229 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #306229
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##306229 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##306229 | 1.00 | 7.23 | 2.90 | 7.23 |
| #FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#645A24
Deuteranopia (green-blind)
#5E552D
Tritanopia (blue-blind)
#2B5F55
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #306229; /* rgb */ color: rgb(48, 98, 41); /* oklch */ color: oklch(44.7% 0.103 141.3);
Tailwind
colors: {
custom: {
50: '#6d8f64',
500: '#306229',
950: '#000000',
},
}SCSS
$custom: #306229; $custom-light: #6d8f64; $custom-dark: #000000;
JSON
{
"hex": "#306229",
"rgb": {
"r": 48,
"g": 98,
"b": 41
},
"hsl": {
"h": 112.632,
"s": 41.007,
"l": 27.255
},
"oklch": {
"l": 0.44672,
"c": 0.10288,
"h": 141.3
},
"luminance": 0.09524
}Semantic roles & 50–950 ramp
primary
#306229
secondary
#8C5295
accent
#57D1C2
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070C05
muted
#7A7D7A