#226834#226834
#226834 is a mid, moderate green. Relative luminance 0.105; OKLCH L 46.0% C 0.108 H 148.7°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #226834 |
|---|---|
| RGB | rgb(34, 104, 52) |
| HSL | hsl(135, 51%, 27%) |
| HSV | hsv(135, 67%, 41%) |
| CMYK | cmyk(67.3%, 0%, 50%, 59.2%) |
| CIE-LAB | lab(38.70, -34.20, 22.97) |
| CIE-LCH | lch(38.70, 41.20, 146.12°) |
| OKLab | oklab(46% -0.0923 0.0561) |
| OKLCH | oklch(46% 0.108 148.7) |
| XYZ | xyz(6.2294, 10.4880, 4.9442) |
| Luminance | 0.1049 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 4.40
Spruce
#0A5F38
ΔE00 4.72
Forest Green
#2D5A27
ΔE00 5.33
Hunter Green
#355E3B
ΔE00 5.78
Deep Green
#02590F
ΔE00 6.93
Darkish Green
#287C37
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226834 #682256
analogous
#336822 #226834 #226857
triadic
#226834 #342268 #683422
tetradic
#226834 #223368 #682256 #685722
square
#226834 #223368 #682256 #685722
split-complementary
#226834 #572268 #682233
monochromatic
#08170C #133A1D #226834 #31964B #43C263
Accessibility & contrast
On white
6.78
#226834 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#226834 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #226834
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226834 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226834 | 1.00 | 6.78 | 3.10 | 6.78 |
| #FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#695F30
Deuteranopia (green-blind)
#605938
Tritanopia (blue-blind)
#0B665C
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #226834; /* rgb */ color: rgb(34, 104, 52); /* oklch */ color: oklch(46.0% 0.108 148.7);
Tailwind
colors: {
custom: {
50: '#66946c',
500: '#226834',
950: '#000000',
},
}SCSS
$custom: #226834; $custom-light: #66946c; $custom-dark: #000000;
JSON
{
"hex": "#226834",
"rgb": {
"r": 34,
"g": 104,
"b": 52
},
"hsl": {
"h": 135.429,
"s": 50.725,
"l": 27.059
},
"oklch": {
"l": 0.46001,
"c": 0.10799,
"h": 148.7
},
"luminance": 0.10489
}Semantic roles & 50–950 ramp
primary
#226834
secondary
#9C4A87
accent
#4EB6DA
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D07
muted
#7A7E7A