#226930#226930
#226930 is a mid, moderate green. Relative luminance 0.107; OKLCH L 46.2% C 0.114 H 147.1°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #226930 |
|---|---|
| RGB | rgb(34, 105, 48) |
| HSL | hsl(132, 51%, 27%) |
| HSV | hsv(132, 68%, 41%) |
| CMYK | cmyk(67.6%, 0%, 54.3%, 58.8%) |
| CIE-LAB | lab(38.99, -35.29, 25.55) |
| CIE-LCH | lch(38.99, 43.57, 144.10°) |
| OKLab | oklab(46.22% -0.0953 0.0617) |
| OKLCH | oklch(46.22% 0.114 147.1) |
| XYZ | xyz(6.2443, 10.6560, 4.5235) |
| Luminance | 0.1066 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 5.19
Forest Green
#2D5A27
ΔE00 5.47
Spruce
#0A5F38
ΔE00 5.73
Deep Green
#02590F
ΔE00 6.49
Darkgreen
#006400
ΔE00 6.55
Hunter Green
#355E3B
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226930 #69225B
analogous
#386922 #226930 #226954
triadic
#226930 #302269 #693022
tetradic
#226930 #223869 #69225B #695422
square
#226930 #223869 #69225B #695422
split-complementary
#226930 #542269 #692238
monochromatic
#07170B #133B1B #226930 #319745 #43C25C
Accessibility & contrast
On white
6.71
#226930 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#226930 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #226930
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226930 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226930 | 1.00 | 6.71 | 3.13 | 6.71 |
| #FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A602B
Deuteranopia (green-blind)
#615934
Tritanopia (blue-blind)
#0D675C
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #226930; /* rgb */ color: rgb(34, 105, 48); /* oklch */ color: oklch(46.2% 0.114 147.1);
Tailwind
colors: {
custom: {
50: '#66956a',
500: '#226930',
950: '#000000',
},
}SCSS
$custom: #226930; $custom-light: #66956a; $custom-dark: #000000;
JSON
{
"hex": "#226930",
"rgb": {
"r": 34,
"g": 105,
"b": 48
},
"hsl": {
"h": 131.831,
"s": 51.079,
"l": 27.255
},
"oklch": {
"l": 0.46221,
"c": 0.1135,
"h": 147.1
},
"luminance": 0.10657
}Semantic roles & 50–950 ramp
primary
#226930
secondary
#9D4A8C
accent
#4DBFDB
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A