#126E18#126E18
#126E18 is a mid, vivid green. Relative luminance 0.113; OKLCH L 47.0% C 0.145 H 143.5°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #126E18 |
|---|---|
| RGB | rgb(18, 110, 24) |
| HSL | hsl(124, 72%, 25%) |
| HSV | hsv(124, 84%, 43%) |
| CMYK | cmyk(83.6%, 0%, 78.2%, 56.9%) |
| CIE-LAB | lab(40.16, -43.08, 38.23) |
| CIE-LCH | lch(40.16, 57.59, 138.42°) |
| OKLab | oklab(47% -0.1166 0.0864) |
| OKLCH | oklch(47% 0.145 143.5) |
| XYZ | xyz(5.9899, 11.3457, 2.7382) |
| Luminance | 0.1135 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.65
Darkish Green
#287C37
ΔE00 6.01
Tree Green
#2A7E19
ΔE00 6.01
Green
#008000
ΔE00 6.78
Deep Green
#02590F
ΔE00 6.86
Forest
#0B5509
ΔE00 8.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126E18 #6E1268
analogous
#3A6E12 #126E18 #126E46
triadic
#126E18 #18126E #6E1812
tetradic
#126E18 #123A6E #6E1268 #6E4612
square
#126E18 #123A6E #6E1268 #6E4612
split-complementary
#126E18 #46126E #6E123A
monochromatic
#041A06 #09390D #126E18 #1BA323 #23D72F
Accessibility & contrast
On white
6.42
#126E18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#126E18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126E18
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126E18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126E18 | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#706307
Deuteranopia (green-blind)
#675C21
Tritanopia (blue-blind)
#006B5D
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #126e18; /* rgb */ color: rgb(18, 110, 24); /* oklch */ color: oklch(47.0% 0.145 143.5);
Tailwind
colors: {
custom: {
50: '#63995b',
500: '#126e18',
950: '#000000',
},
}SCSS
$custom: #126e18; $custom-light: #63995b; $custom-dark: #000000;
JSON
{
"hex": "#126e18",
"rgb": {
"r": 18,
"g": 110,
"b": 24
},
"hsl": {
"h": 123.913,
"s": 71.875,
"l": 25.098
},
"oklch": {
"l": 0.47001,
"c": 0.14513,
"h": 143.5
},
"luminance": 0.11346
}Semantic roles & 50–950 ramp
primary
#126E18
secondary
#A5379E
accent
#39E3EF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79