#226926#226926
#226926 is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.1% C 0.123 H 144.1°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #226926 |
|---|---|
| RGB | rgb(34, 105, 38) |
| HSL | hsl(123, 51%, 27%) |
| HSV | hsv(123, 68%, 41%) |
| CMYK | cmyk(67.6%, 0%, 63.8%, 58.8%) |
| CIE-LAB | lab(38.87, -36.75, 30.67) |
| CIE-LCH | lch(38.87, 47.86, 140.15°) |
| OKLab | oklab(46.08% -0.0996 0.0721) |
| OKLCH | oklch(46.08% 0.123 144.1) |
| XYZ | xyz(6.0607, 10.5826, 3.5566) |
| Luminance | 0.1058 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.65
Deep Green
#02590F
ΔE00 5.62
Forest Green
#2D5A27
ΔE00 5.75
Darkish Green
#287C37
ΔE00 6.53
Pine
#2B5D34
ΔE00 6.56
Forest
#0B5509
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226926 #692265
analogous
#426922 #226926 #226949
triadic
#226926 #262269 #692622
tetradic
#226926 #224269 #692265 #694922
square
#226926 #224269 #692265 #694922
split-complementary
#226926 #492269 #692242
monochromatic
#071708 #133B15 #226926 #319737 #43C24A
Accessibility & contrast
On white
6.74
#226926 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#226926 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #226926
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226926 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226926 | 1.00 | 6.74 | 3.12 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B5F1F
Deuteranopia (green-blind)
#62592B
Tritanopia (blue-blind)
#11665B
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #226926; /* rgb */ color: rgb(34, 105, 38); /* oklch */ color: oklch(46.1% 0.123 144.1);
Tailwind
colors: {
custom: {
50: '#679563',
500: '#226926',
950: '#000000',
},
}SCSS
$custom: #226926; $custom-light: #679563; $custom-dark: #000000;
JSON
{
"hex": "#226926",
"rgb": {
"r": 34,
"g": 105,
"b": 38
},
"hsl": {
"h": 123.38,
"s": 51.079,
"l": 27.255
},
"oklch": {
"l": 0.46075,
"c": 0.12292,
"h": 144.1
},
"luminance": 0.10583
}Semantic roles & 50–950 ramp
primary
#226926
secondary
#9D4A98
accent
#4DD3DB
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D05
muted
#7A7E7A