#226933#226933
#226933 is a mid, moderate green. Relative luminance 0.107; OKLCH L 46.3% C 0.110 H 148.2°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #226933 |
|---|---|
| RGB | rgb(34, 105, 51) |
| HSL | hsl(134, 51%, 27%) |
| HSV | hsv(134, 68%, 41%) |
| CMYK | cmyk(67.6%, 0%, 51.4%, 58.8%) |
| CIE-LAB | lab(39.04, -34.80, 23.95) |
| CIE-LCH | lch(39.04, 42.24, 145.47°) |
| OKLab | oklab(46.27% -0.0939 0.0582) |
| OKLCH | oklch(46.27% 0.11 148.2) |
| XYZ | xyz(6.3083, 10.6816, 4.8606) |
| Luminance | 0.1068 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 4.85
Spruce
#0A5F38
ΔE00 5.21
Forest Green
#2D5A27
ΔE00 5.55
Hunter Green
#355E3B
ΔE00 6.21
Darkish Green
#287C37
ΔE00 6.80
Deep Green
#02590F
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226933 #692258
analogous
#356922 #226933 #226957
triadic
#226933 #332269 #693322
tetradic
#226933 #223569 #692258 #695722
square
#226933 #223569 #692258 #695722
split-complementary
#226933 #572269 #692235
monochromatic
#07170B #133B1D #226933 #319749 #43C262
Accessibility & contrast
On white
6.70
#226933 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#226933 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #226933
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226933 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226933 | 1.00 | 6.70 | 3.14 | 6.70 |
| #FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A602F
Deuteranopia (green-blind)
#615937
Tritanopia (blue-blind)
#0B675C
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #226933; /* rgb */ color: rgb(34, 105, 51); /* oklch */ color: oklch(46.3% 0.110 148.2);
Tailwind
colors: {
custom: {
50: '#66956c',
500: '#226933',
950: '#000000',
},
}SCSS
$custom: #226933; $custom-light: #66956c; $custom-dark: #000000;
JSON
{
"hex": "#226933",
"rgb": {
"r": 34,
"g": 105,
"b": 51
},
"hsl": {
"h": 134.366,
"s": 51.079,
"l": 27.255
},
"oklch": {
"l": 0.46271,
"c": 0.11049,
"h": 148.2
},
"luminance": 0.10682
}Semantic roles & 50–950 ramp
primary
#226933
secondary
#9D4A89
accent
#4DB9DB
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D07
muted
#7A7E7A