#227015#227015
#227015 is a mid, vivid green. Relative luminance 0.120; OKLCH L 47.9% C 0.144 H 141.2°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #227015 |
|---|---|
| RGB | rgb(34, 112, 21) |
| HSL | hsl(111, 68%, 26%) |
| HSV | hsv(111, 81%, 44%) |
| CMYK | cmyk(69.6%, 0%, 81.2%, 56.1%) |
| CIE-LAB | lab(41.19, -41.10, 40.46) |
| CIE-LCH | lch(41.19, 57.67, 135.45°) |
| OKLab | oklab(47.95% -0.1123 0.0905) |
| OKLCH | oklch(47.95% 0.144 141.2) |
| XYZ | xyz(6.5889, 11.9819, 2.6748) |
| Luminance | 0.1198 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.37
Tree Green
#2A7E19
ΔE00 4.91
Darkish Green
#287C37
ΔE00 5.92
Green
#008000
ΔE00 5.92
Dark Grass Green
#388004
ΔE00 6.73
Deep Green
#02590F
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#227015 #631570
analogous
#4F7015 #227015 #157035
triadic
#227015 #152270 #701522
tetradic
#227015 #154F70 #631570 #703515
square
#227015 #154F70 #631570 #703515
split-complementary
#227015 #351570 #70154F
monochromatic
#081A05 #123C0B #227015 #32A41F #41D729
Accessibility & contrast
On white
6.18
#227015 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#227015 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #227015
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##227015 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##227015 | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#6A5F1F
Tritanopia (blue-blind)
#136C5F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #227015; /* rgb */ color: rgb(34, 112, 21); /* oklch */ color: oklch(47.9% 0.144 141.2);
Tailwind
colors: {
custom: {
50: '#6a9a5a',
500: '#227015',
950: '#000000',
},
}SCSS
$custom: #227015; $custom-light: #6a9a5a; $custom-dark: #000000;
JSON
{
"hex": "#227015",
"rgb": {
"r": 34,
"g": 112,
"b": 21
},
"hsl": {
"h": 111.429,
"s": 68.421,
"l": 26.078
},
"oklch": {
"l": 0.47949,
"c": 0.14421,
"h": 141.2
},
"luminance": 0.11983
}Semantic roles & 50–950 ramp
primary
#227015
secondary
#973BA6
accent
#3DEBD2
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79