#227F46#227F46
#227F46 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.9% C 0.123 H 152.0°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #227F46 |
|---|---|
| RGB | rgb(34, 127, 70) |
| HSL | hsl(143, 58%, 32%) |
| HSV | hsv(143, 73%, 50%) |
| CMYK | cmyk(73.2%, 0%, 44.9%, 50.2%) |
| CIE-LAB | lab(46.92, -40.37, 23.41) |
| CIE-LCH | lch(46.92, 46.67, 149.89°) |
| OKLab | oklab(52.87% -0.1088 0.0578) |
| OKLCH | oklch(52.87% 0.123 152) |
| XYZ | xyz(9.3538, 15.9600, 8.3808) |
| Luminance | 0.1596 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 1.81
Darkish Green
#287C37
ΔE00 3.20
Sea Green
#2E8B57
ΔE00 4.85
Dark Sea Green
#11875D
ΔE00 5.46
Dark Sage
#598556
ΔE00 7.62
Tree Green
#2A7E19
ΔE00 7.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#227F46 #7F225B
analogous
#2D7F22 #227F46 #227F75
triadic
#227F46 #46227F #7F4622
tetradic
#227F46 #222D7F #7F225B #7F7522
square
#227F46 #222D7F #7F225B #7F7522
split-complementary
#227F46 #75227F #7F222D
monochromatic
#081E11 #154F2B #227F46 #2FAF61 #4CCF7F
Accessibility & contrast
On white
5.01
#227F46 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#227F46 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #227F46
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##227F46 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##227F46 | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7442
Deuteranopia (green-blind)
#746C4A
Tritanopia (blue-blind)
#007D71
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #227f46; /* rgb */ color: rgb(34, 127, 70); /* oklch */ color: oklch(52.9% 0.123 152.0);
Tailwind
colors: {
custom: {
50: '#6ba57a',
500: '#227f46',
950: '#000000',
},
}SCSS
$custom: #227f46; $custom-light: #6ba57a; $custom-dark: #000000;
JSON
{
"hex": "#227f46",
"rgb": {
"r": 34,
"g": 127,
"b": 70
},
"hsl": {
"h": 143.226,
"s": 57.764,
"l": 31.569
},
"oklch": {
"l": 0.52872,
"c": 0.12316,
"h": 152
},
"luminance": 0.15961
}Semantic roles & 50–950 ramp
primary
#227F46
secondary
#B24B8A
accent
#47A5E1
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B