#227C1B#227C1B
#227C1B is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.155 H 142.1°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #227C1B |
|---|---|
| RGB | rgb(34, 124, 27) |
| HSL | hsl(116, 64%, 30%) |
| HSV | hsv(116, 78%, 49%) |
| CMYK | cmyk(72.6%, 0%, 78.2%, 51.4%) |
| CIE-LAB | lab(45.41, -44.97, 42.43) |
| CIE-LCH | lch(45.41, 61.83, 136.66°) |
| OKLab | oklab(51.46% -0.1224 0.0954) |
| OKLCH | oklch(51.46% 0.155 142.1) |
| XYZ | xyz(8.0647, 14.8336, 3.4749) |
| Luminance | 0.1484 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.17
Green
#008000
ΔE00 2.64
Dark Grass Green
#388004
ΔE00 3.98
Darkish Green
#287C37
ΔE00 4.41
Forestgreen (CSS)
#228B22
ΔE00 5.32
Emerald Green
#028F1E
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#227C1B #751B7C
analogous
#537C1B #227C1B #1B7C45
triadic
#227C1B #1B227C #7C1B22
tetradic
#227C1B #1B537C #751B7C #7C451B
square
#227C1B #1B537C #751B7C #7C451B
split-complementary
#227C1B #451B7C #7C1B53
monochromatic
#071905 #144A10 #227C1B #30AE26 #48D53D
Accessibility & contrast
On white
5.29
#227C1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#227C1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #227C1B
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##227C1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##227C1B | 1.00 | 5.29 | 3.97 | 5.29 |
| #FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7006
Deuteranopia (green-blind)
#756926
Tritanopia (blue-blind)
#09786A
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #227c1b; /* rgb */ color: rgb(34, 124, 27); /* oklch */ color: oklch(51.5% 0.155 142.1);
Tailwind
colors: {
custom: {
50: '#6ca35f',
500: '#227c1b',
950: '#000000',
},
}SCSS
$custom: #227c1b; $custom-light: #6ca35f; $custom-dark: #000000;
JSON
{
"hex": "#227c1b",
"rgb": {
"r": 34,
"g": 124,
"b": 27
},
"hsl": {
"h": 115.67,
"s": 64.238,
"l": 29.608
},
"oklch": {
"l": 0.51459,
"c": 0.15526,
"h": 142.1
},
"luminance": 0.14835
}Semantic roles & 50–950 ramp
primary
#227C1B
secondary
#A843B0
accent
#41E7DB
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79