#227F2E#227F2E
#227F2E is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.145 H 145.0°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #227F2E |
|---|---|
| RGB | rgb(34, 127, 46) |
| HSL | hsl(128, 58%, 32%) |
| HSV | hsv(128, 73%, 50%) |
| CMYK | cmyk(73.2%, 0%, 63.8%, 50.2%) |
| CIE-LAB | lab(46.60, -44.13, 35.57) |
| CIE-LCH | lch(46.60, 56.68, 141.13°) |
| OKLab | oklab(52.5% -0.1192 0.0833) |
| OKLCH | oklch(52.5% 0.145 145) |
| XYZ | xyz(8.7416, 15.7151, 5.1569) |
| Luminance | 0.1572 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.18
Tree Green
#2A7E19
ΔE00 3.26
Jungle Green
#048243
ΔE00 4.44
Green
#008000
ΔE00 4.62
Forestgreen (CSS)
#228B22
ΔE00 5.07
Dark Grass Green
#388004
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#227F2E #7F2273
analogous
#457F22 #227F2E #227F5D
triadic
#227F2E #2E227F #7F2E22
tetradic
#227F2E #22457F #7F2273 #7F5D22
square
#227F2E #22457F #7F2273 #7F5D22
split-complementary
#227F2E #5D227F #7F2245
monochromatic
#081E0B #154F1D #227F2E #2FAF3F #4CCF5D
Accessibility & contrast
On white
5.07
#227F2E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#227F2E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #227F2E
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##227F2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##227F2E | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817325
Deuteranopia (green-blind)
#766C35
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #227f2e; /* rgb */ color: rgb(34, 127, 46); /* oklch */ color: oklch(52.5% 0.145 145.0);
Tailwind
colors: {
custom: {
50: '#6ca56a',
500: '#227f2e',
950: '#000000',
},
}SCSS
$custom: #227f2e; $custom-light: #6ca56a; $custom-dark: #000000;
JSON
{
"hex": "#227f2e",
"rgb": {
"r": 34,
"g": 127,
"b": 46
},
"hsl": {
"h": 127.742,
"s": 57.764,
"l": 31.569
},
"oklch": {
"l": 0.525,
"c": 0.14547,
"h": 145
},
"luminance": 0.15716
}Semantic roles & 50–950 ramp
primary
#227F2E
secondary
#B24BA4
accent
#47CDE1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F07
muted
#7A7F7A