#227515#227515
#227515 is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.4% C 0.150 H 141.3°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #227515 |
|---|---|
| RGB | rgb(34, 117, 21) |
| HSL | hsl(112, 70%, 27%) |
| HSV | hsv(112, 82%, 46%) |
| CMYK | cmyk(70.9%, 0%, 82.1%, 54.1%) |
| CIE-LAB | lab(42.94, -42.91, 42.14) |
| CIE-LCH | lch(42.94, 60.14, 135.52°) |
| OKLab | oklab(49.4% -0.1172 0.094) |
| OKLCH | oklch(49.4% 0.15 141.3) |
| XYZ | xyz(7.1560, 13.1161, 2.8639) |
| Luminance | 0.1312 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.22
Green
#008000
ΔE00 4.28
Darkish Green
#287C37
ΔE00 5.22
Dark Grass Green
#388004
ΔE00 5.24
Darkgreen
#006400
ΔE00 5.89
Forestgreen (CSS)
#228B22
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#227515 #681575
analogous
#527515 #227515 #157538
triadic
#227515 #152275 #751522
tetradic
#227515 #155275 #681575 #753815
square
#227515 #155275 #681575 #753815
split-complementary
#227515 #381575 #751552
monochromatic
#081A05 #13410C #227515 #31A91E #43D92B
Accessibility & contrast
On white
5.80
#227515 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#227515 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #227515
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##227515 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##227515 | 1.00 | 5.80 | 3.62 | 5.80 |
| #FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#6E6320
Tritanopia (blue-blind)
#107163
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #227515; /* rgb */ color: rgb(34, 117, 21); /* oklch */ color: oklch(49.4% 0.150 141.3);
Tailwind
colors: {
custom: {
50: '#6b9e5b',
500: '#227515',
950: '#000000',
},
}SCSS
$custom: #227515; $custom-light: #6b9e5b; $custom-dark: #000000;
JSON
{
"hex": "#227515",
"rgb": {
"r": 34,
"g": 117,
"b": 21
},
"hsl": {
"h": 111.875,
"s": 69.565,
"l": 27.059
},
"oklch": {
"l": 0.494,
"c": 0.15022,
"h": 141.3
},
"luminance": 0.13117
}Semantic roles & 50–950 ramp
primary
#227515
secondary
#9C3BAB
accent
#3BECD4
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79