#226534#226534
#226534 is a mid, moderate green. Relative luminance 0.099; OKLCH L 45.1% C 0.103 H 149.2°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #226534 |
|---|---|
| RGB | rgb(34, 101, 52) |
| HSL | hsl(136, 50%, 26%) |
| HSV | hsv(136, 66%, 40%) |
| CMYK | cmyk(66.3%, 0%, 48.5%, 60.4%) |
| CIE-LAB | lab(37.65, -32.92, 21.63) |
| CIE-LCH | lch(37.65, 39.39, 146.69°) |
| OKLab | oklab(45.14% -0.0889 0.053) |
| OKLCH | oklch(45.14% 0.104 149.2) |
| XYZ | xyz(5.9328, 9.8948, 4.8454) |
| Luminance | 0.0989 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.35
Spruce
#0A5F38
ΔE00 3.81
Forest Green
#2D5A27
ΔE00 4.64
Hunter Green
#355E3B
ΔE00 4.91
Deep Green
#02590F
ΔE00 6.71
Forest
#0B5509
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226534 #652253
analogous
#326522 #226534 #226556
triadic
#226534 #342265 #653422
tetradic
#226534 #223265 #652253 #655622
square
#226534 #223265 #652253 #655622
split-complementary
#226534 #562265 #652232
monochromatic
#08170C #13371C #226534 #31934C #42BF64
Accessibility & contrast
On white
7.05
#226534 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#226534 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #226534
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226534 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226534 | 1.00 | 7.05 | 2.98 | 7.05 |
| #FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#665C30
Deuteranopia (green-blind)
#5D5637
Tritanopia (blue-blind)
#0D6359
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #226534; /* rgb */ color: rgb(34, 101, 52); /* oklch */ color: oklch(45.1% 0.103 149.2);
Tailwind
colors: {
custom: {
50: '#65916c',
500: '#226534',
950: '#000000',
},
}SCSS
$custom: #226534; $custom-light: #65916c; $custom-dark: #000000;
JSON
{
"hex": "#226534",
"rgb": {
"r": 34,
"g": 101,
"b": 52
},
"hsl": {
"h": 136.119,
"s": 49.63,
"l": 26.471
},
"oklch": {
"l": 0.45135,
"c": 0.1035,
"h": 149.2
},
"luminance": 0.09895
}Semantic roles & 50–950 ramp
primary
#226534
secondary
#994A84
accent
#4FB4D9
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D07
muted
#7A7E7A