#226830#226830
#226830 is a mid, moderate green. Relative luminance 0.105; OKLCH L 45.9% C 0.112 H 147.2°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #226830 |
|---|---|
| RGB | rgb(34, 104, 48) |
| HSL | hsl(132, 51%, 27%) |
| HSV | hsv(132, 67%, 41%) |
| CMYK | cmyk(67.3%, 0%, 53.8%, 59.2%) |
| CIE-LAB | lab(38.64, -34.88, 25.12) |
| CIE-LCH | lch(38.64, 42.98, 144.24°) |
| OKLab | oklab(45.93% -0.0942 0.0607) |
| OKLCH | oklch(45.93% 0.112 147.2) |
| XYZ | xyz(6.1431, 10.4535, 4.4897) |
| Luminance | 0.1045 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 4.85
Forest Green
#2D5A27
ΔE00 5.17
Spruce
#0A5F38
ΔE00 5.44
Hunter Green
#355E3B
ΔE00 6.32
Deep Green
#02590F
ΔE00 6.33
Darkgreen
#006400
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226830 #68225A
analogous
#376822 #226830 #226853
triadic
#226830 #302268 #683022
tetradic
#226830 #223768 #68225A #685322
square
#226830 #223768 #68225A #685322
split-complementary
#226830 #532268 #682237
monochromatic
#08170B #133A1B #226830 #319645 #43C25C
Accessibility & contrast
On white
6.79
#226830 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#226830 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #226830
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226830 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226830 | 1.00 | 6.79 | 3.09 | 6.79 |
| #FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#695F2B
Deuteranopia (green-blind)
#615934
Tritanopia (blue-blind)
#0D665B
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #226830; /* rgb */ color: rgb(34, 104, 48); /* oklch */ color: oklch(45.9% 0.112 147.2);
Tailwind
colors: {
custom: {
50: '#669469',
500: '#226830',
950: '#000000',
},
}SCSS
$custom: #226830; $custom-light: #669469; $custom-dark: #000000;
JSON
{
"hex": "#226830",
"rgb": {
"r": 34,
"g": 104,
"b": 48
},
"hsl": {
"h": 132,
"s": 50.725,
"l": 27.059
},
"oklch": {
"l": 0.45932,
"c": 0.11205,
"h": 147.2
},
"luminance": 0.10454
}Semantic roles & 50–950 ramp
primary
#226830
secondary
#9C4A8B
accent
#4EBEDA
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A