#118126#118126
#118126 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.7% C 0.159 H 145.0°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #118126 |
|---|---|
| RGB | rgb(17, 129, 38) |
| HSL | hsl(131, 77%, 29%) |
| HSV | hsv(131, 87%, 51%) |
| CMYK | cmyk(86.8%, 0%, 70.5%, 49.4%) |
| CIE-LAB | lab(46.92, -48.22, 39.49) |
| CIE-LCH | lch(46.92, 62.33, 140.68°) |
| OKLab | oklab(52.66% -0.13 0.0909) |
| OKLCH | oklch(52.66% 0.159 145) |
| XYZ | xyz(8.4307, 15.9586, 4.4693) |
| Luminance | 0.1596 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.78
Green
#008000
ΔE00 3.37
Darkish Green
#287C37
ΔE00 3.69
Forestgreen (CSS)
#228B22
ΔE00 4.09
Emerald Green
#028F1E
ΔE00 5.29
Jungle Green
#048243
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#118126 #81116C
analogous
#348111 #118126 #11815E
triadic
#118126 #261181 #812611
tetradic
#118126 #113481 #81116C #815E11
square
#118126 #113481 #81116C #815E11
split-complementary
#118126 #5E1181 #811134
monochromatic
#041B08 #0A4B16 #118126 #18B736 #2AE34C
Accessibility & contrast
On white
5.01
#118126 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#118126 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #118126
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##118126 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##118126 | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837419
Deuteranopia (green-blind)
#786C2F
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #118126; /* rgb */ color: rgb(17, 129, 38); /* oklch */ color: oklch(52.7% 0.159 145.0);
Tailwind
colors: {
custom: {
50: '#68a765',
500: '#118126',
950: '#000000',
},
}SCSS
$custom: #118126; $custom-light: #68a765; $custom-dark: #000000;
JSON
{
"hex": "#118126",
"rgb": {
"r": 17,
"g": 129,
"b": 38
},
"hsl": {
"h": 131.25,
"s": 76.712,
"l": 28.627
},
"oklch": {
"l": 0.52658,
"c": 0.15859,
"h": 145
},
"luminance": 0.1596
}Semantic roles & 50–950 ramp
primary
#118126
secondary
#B7379F
accent
#35D0F3
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A