#127228#127228
#127228 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.3% C 0.138 H 146.2°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #127228 |
|---|---|
| RGB | rgb(18, 114, 40) |
| HSL | hsl(134, 73%, 26%) |
| HSV | hsv(134, 84%, 45%) |
| CMYK | cmyk(84.2%, 0%, 64.9%, 55.3%) |
| CIE-LAB | lab(41.71, -42.74, 32.83) |
| CIE-LCH | lch(41.71, 53.90, 142.47°) |
| OKLab | oklab(48.34% -0.115 0.077) |
| OKLCH | oklch(48.34% 0.138 146.2) |
| XYZ | xyz(6.6493, 12.3156, 4.0338) |
| Luminance | 0.1232 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.97
Darkgreen
#006400
ΔE00 5.89
Tree Green
#2A7E19
ΔE00 5.96
Jungle Green
#048243
ΔE00 6.50
Green
#008000
ΔE00 7.00
Deep Green
#02590F
ΔE00 8.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#127228 #72125C
analogous
#2C7212 #127228 #127258
triadic
#127228 #281272 #722812
tetradic
#127228 #122C72 #72125C #725812
square
#127228 #122C72 #72125C #725812
split-complementary
#127228 #581272 #72122C
monochromatic
#041A09 #0A3D15 #127228 #1AA73B #23DC4D
Accessibility & contrast
On white
6.06
#127228 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#127228 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #127228
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##127228 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##127228 | 1.00 | 6.06 | 3.46 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#746720
Deuteranopia (green-blind)
#69602E
Tritanopia (blue-blind)
#006F62
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #127228; /* rgb */ color: rgb(18, 114, 40); /* oklch */ color: oklch(48.3% 0.138 146.2);
Tailwind
colors: {
custom: {
50: '#649c65',
500: '#127228',
950: '#000000',
},
}SCSS
$custom: #127228; $custom-light: #649c65; $custom-dark: #000000;
JSON
{
"hex": "#127228",
"rgb": {
"r": 18,
"g": 114,
"b": 40
},
"hsl": {
"h": 133.75,
"s": 72.727,
"l": 25.882
},
"oklch": {
"l": 0.4834,
"c": 0.1384,
"h": 146.2
},
"luminance": 0.12316
}Semantic roles & 50–950 ramp
primary
#127228
secondary
#A9378F
accent
#38C5EF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A