#127229#127229
#127229 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.4% C 0.138 H 146.4°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #127229 |
|---|---|
| RGB | rgb(18, 114, 41) |
| HSL | hsl(134, 73%, 26%) |
| HSV | hsv(134, 84%, 45%) |
| CMYK | cmyk(84.2%, 0%, 64%, 55.3%) |
| CIE-LAB | lab(41.72, -42.61, 32.36) |
| CIE-LCH | lch(41.72, 53.50, 142.79°) |
| OKLab | oklab(48.35% -0.1146 0.076) |
| OKLCH | oklch(48.35% 0.138 146.4) |
| XYZ | xyz(6.6665, 12.3225, 4.1245) |
| Luminance | 0.1232 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.92
Darkgreen
#006400
ΔE00 6.01
Tree Green
#2A7E19
ΔE00 6.08
Jungle Green
#048243
ΔE00 6.40
Green
#008000
ΔE00 7.14
Deep Green
#02590F
ΔE00 8.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#127229 #72125B
analogous
#2B7212 #127229 #127259
triadic
#127229 #291272 #722912
tetradic
#127229 #122B72 #72125B #725912
square
#127229 #122B72 #72125B #725912
split-complementary
#127229 #591272 #72122B
monochromatic
#041A0A #0A3D16 #127229 #1AA73C #23DC4F
Accessibility & contrast
On white
6.06
#127229 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#127229 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #127229
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##127229 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##127229 | 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)
#746721
Deuteranopia (green-blind)
#69602F
Tritanopia (blue-blind)
#006F62
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #127229; /* rgb */ color: rgb(18, 114, 41); /* oklch */ color: oklch(48.4% 0.138 146.4);
Tailwind
colors: {
custom: {
50: '#649c66',
500: '#127229',
950: '#000000',
},
}SCSS
$custom: #127229; $custom-light: #649c66; $custom-dark: #000000;
JSON
{
"hex": "#127229",
"rgb": {
"r": 18,
"g": 114,
"b": 41
},
"hsl": {
"h": 134.375,
"s": 72.727,
"l": 25.882
},
"oklch": {
"l": 0.48352,
"c": 0.13756,
"h": 146.4
},
"luminance": 0.12323
}Semantic roles & 50–950 ramp
primary
#127229
secondary
#A9378E
accent
#38C4EF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A