#127227#127227
#127227 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.3% C 0.139 H 146.0°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #127227 |
|---|---|
| RGB | rgb(18, 114, 39) |
| HSL | hsl(133, 73%, 26%) |
| HSV | hsv(133, 84%, 45%) |
| CMYK | cmyk(84.2%, 0%, 65.8%, 55.3%) |
| CIE-LAB | lab(41.70, -42.87, 33.31) |
| CIE-LCH | lch(41.70, 54.29, 142.16°) |
| OKLab | oklab(48.33% -0.1154 0.0779) |
| OKLCH | oklch(48.33% 0.139 146) |
| XYZ | xyz(6.6325, 12.3089, 3.9454) |
| Luminance | 0.1231 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.03
Darkgreen
#006400
ΔE00 5.78
Tree Green
#2A7E19
ΔE00 5.84
Jungle Green
#048243
ΔE00 6.59
Green
#008000
ΔE00 6.87
Deep Green
#02590F
ΔE00 8.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#127227 #72125D
analogous
#2D7212 #127227 #127257
triadic
#127227 #271272 #722712
tetradic
#127227 #122D72 #72125D #725712
square
#127227 #122D72 #72125D #725712
split-complementary
#127227 #571272 #72122D
monochromatic
#041A09 #0A3D15 #127227 #1AA739 #23DC4B
Accessibility & contrast
On white
6.07
#127227 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#127227 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #127227
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##127227 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##127227 | 1.00 | 6.07 | 3.46 | 6.07 |
| #FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#74671E
Deuteranopia (green-blind)
#69602E
Tritanopia (blue-blind)
#006F62
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #127227; /* rgb */ color: rgb(18, 114, 39); /* oklch */ color: oklch(48.3% 0.139 146.0);
Tailwind
colors: {
custom: {
50: '#649c64',
500: '#127227',
950: '#000000',
},
}SCSS
$custom: #127227; $custom-light: #649c64; $custom-dark: #000000;
JSON
{
"hex": "#127227",
"rgb": {
"r": 18,
"g": 114,
"b": 39
},
"hsl": {
"h": 133.125,
"s": 72.727,
"l": 25.882
},
"oklch": {
"l": 0.48328,
"c": 0.13922,
"h": 146
},
"luminance": 0.1231
}Semantic roles & 50–950 ramp
primary
#127227
secondary
#A93790
accent
#38C7EF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A