#226237#226237
#226237 is a dark, moderate green. Relative luminance 0.094; OKLCH L 44.3% C 0.096 H 151.2°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #226237 |
|---|---|
| RGB | rgb(34, 98, 55) |
| HSL | hsl(140, 48%, 26%) |
| HSV | hsv(140, 65%, 38%) |
| CMYK | cmyk(65.3%, 0%, 43.9%, 61.6%) |
| CIE-LAB | lab(36.65, -31.04, 18.60) |
| CIE-LCH | lch(36.65, 36.19, 149.07°) |
| OKLab | oklab(44.33% -0.0839 0.0461) |
| OKLCH | oklch(44.33% 0.096 151.2) |
| XYZ | xyz(5.7165, 9.3507, 5.1173) |
| Luminance | 0.0935 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 2.27
Spruce
#0A5F38
ΔE00 2.51
Hunter Green
#355E3B
ΔE00 3.79
Forest Green
#2D5A27
ΔE00 4.65
Deep Green
#02590F
ΔE00 7.40
Forest
#0B5509
ΔE00 8.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226237 #62224D
analogous
#2D6222 #226237 #226257
triadic
#226237 #372262 #623722
tetradic
#226237 #222D62 #62224D #625722
square
#226237 #222D62 #62224D #625722
split-complementary
#226237 #572262 #62222D
monochromatic
#08170D #12351D #226237 #328F50 #42BD6A
Accessibility & contrast
On white
7.32
#226237 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#226237 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #226237
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226237 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226237 | 1.00 | 7.32 | 2.87 | 7.32 |
| #FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#625A34
Deuteranopia (green-blind)
#5A543A
Tritanopia (blue-blind)
#0D6057
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #226237; /* rgb */ color: rgb(34, 98, 55); /* oklch */ color: oklch(44.3% 0.096 151.2);
Tailwind
colors: {
custom: {
50: '#658f6e',
500: '#226237',
950: '#000000',
},
}SCSS
$custom: #226237; $custom-light: #658f6e; $custom-dark: #000000;
JSON
{
"hex": "#226237",
"rgb": {
"r": 34,
"g": 98,
"b": 55
},
"hsl": {
"h": 139.688,
"s": 48.485,
"l": 25.882
},
"oklch": {
"l": 0.44327,
"c": 0.09575,
"h": 151.2
},
"luminance": 0.09351
}Semantic roles & 50–950 ramp
primary
#226237
secondary
#964A7D
accent
#50ABD8
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#060C07
muted
#7A7D7A