#226527#226527
#226527 is a dark, moderate green. Relative luminance 0.098; OKLCH L 44.9% C 0.116 H 144.5°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #226527 |
|---|---|
| RGB | rgb(34, 101, 39) |
| HSL | hsl(124, 50%, 26%) |
| HSV | hsv(124, 66%, 40%) |
| CMYK | cmyk(66.3%, 0%, 61.4%, 60.4%) |
| CIE-LAB | lab(37.47, -35.00, 28.54) |
| CIE-LCH | lch(37.47, 45.16, 140.81°) |
| OKLab | oklab(44.92% -0.0948 0.0675) |
| OKLCH | oklch(44.92% 0.116 144.5) |
| XYZ | xyz(5.6792, 9.7934, 3.5101) |
| Luminance | 0.0979 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 4.38
Deep Green
#02590F
ΔE00 4.78
Darkgreen
#006400
ΔE00 5.06
Pine
#2B5D34
ΔE00 5.23
Forest
#0B5509
ΔE00 5.89
Spruce
#0A5F38
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226527 #652260
analogous
#3F6522 #226527 #226549
triadic
#226527 #272265 #652722
tetradic
#226527 #223F65 #652260 #654922
square
#226527 #223F65 #652260 #654922
split-complementary
#226527 #492265 #65223F
monochromatic
#081709 #133715 #226527 #319339 #42BF4B
Accessibility & contrast
On white
7.10
#226527 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#226527 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #226527
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226527 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226527 | 1.00 | 7.10 | 2.96 | 7.10 |
| #FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#675C21
Deuteranopia (green-blind)
#5F562C
Tritanopia (blue-blind)
#136257
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #226527; /* rgb */ color: rgb(34, 101, 39); /* oklch */ color: oklch(44.9% 0.116 144.5);
Tailwind
colors: {
custom: {
50: '#669263',
500: '#226527',
950: '#000000',
},
}SCSS
$custom: #226527; $custom-light: #669263; $custom-dark: #000000;
JSON
{
"hex": "#226527",
"rgb": {
"r": 34,
"g": 101,
"b": 39
},
"hsl": {
"h": 124.478,
"s": 49.63,
"l": 26.471
},
"oklch": {
"l": 0.44923,
"c": 0.11641,
"h": 144.5
},
"luminance": 0.09794
}Semantic roles & 50–950 ramp
primary
#226527
secondary
#994A93
accent
#4FCFD9
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D05
muted
#7A7E7A