#227A3D#227A3D
#227A3D is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.3% C 0.125 H 149.5°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #227A3D |
|---|---|
| RGB | rgb(34, 122, 61) |
| HSL | hsl(138, 56%, 31%) |
| HSV | hsv(138, 72%, 48%) |
| CMYK | cmyk(72.1%, 0%, 50%, 52.2%) |
| CIE-LAB | lab(45.07, -40.00, 26.01) |
| CIE-LCH | lch(45.07, 47.71, 146.97°) |
| OKLab | oklab(51.3% -0.1077 0.0634) |
| OKLCH | oklch(51.3% 0.125 149.5) |
| XYZ | xyz(8.4609, 14.5951, 6.7852) |
| Luminance | 0.1460 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.91
Jungle Green
#048243
ΔE00 3.09
Tree Green
#2A7E19
ΔE00 6.87
Sea Green
#2E8B57
ΔE00 6.98
Dark Sea Green
#11875D
ΔE00 7.51
Green
#008000
ΔE00 8.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#227A3D #7A225F
analogous
#337A22 #227A3D #227A69
triadic
#227A3D #3D227A #7A3D22
tetradic
#227A3D #22337A #7A225F #7A6922
square
#227A3D #22337A #7A225F #7A6922
split-complementary
#227A3D #69227A #7A2233
monochromatic
#071A0D #154A25 #227A3D #2FAA55 #4ACD72
Accessibility & contrast
On white
5.36
#227A3D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#227A3D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #227A3D
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##227A3D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##227A3D | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B6F38
Deuteranopia (green-blind)
#706841
Tritanopia (blue-blind)
#00786C
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #227a3d; /* rgb */ color: rgb(34, 122, 61); /* oklch */ color: oklch(51.3% 0.125 149.5);
Tailwind
colors: {
custom: {
50: '#6aa173',
500: '#227a3d',
950: '#000000',
},
}SCSS
$custom: #227a3d; $custom-light: #6aa173; $custom-dark: #000000;
JSON
{
"hex": "#227a3d",
"rgb": {
"r": 34,
"g": 122,
"b": 61
},
"hsl": {
"h": 138.409,
"s": 56.41,
"l": 30.588
},
"oklch": {
"l": 0.51301,
"c": 0.125,
"h": 149.5
},
"luminance": 0.14596
}Semantic roles & 50–950 ramp
primary
#227A3D
secondary
#AD4B8F
accent
#48B1E0
background
#F6FAF7
surface
#ECF3ED
border
#C7CDC8
text
#070F08
muted
#7A7F7B