#126F18#126F18
#126F18 is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.3% C 0.146 H 143.5°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #126F18 |
|---|---|
| RGB | rgb(18, 111, 24) |
| HSL | hsl(124, 72%, 25%) |
| HSV | hsv(124, 84%, 44%) |
| CMYK | cmyk(83.8%, 0%, 78.4%, 56.5%) |
| CIE-LAB | lab(40.51, -43.42, 38.58) |
| CIE-LCH | lch(40.51, 58.09, 138.38°) |
| OKLab | oklab(47.3% -0.1176 0.0871) |
| OKLCH | oklch(47.3% 0.146 143.5) |
| XYZ | xyz(6.0984, 11.5627, 2.7744) |
| Luminance | 0.1156 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.91
Tree Green
#2A7E19
ΔE00 5.69
Darkish Green
#287C37
ΔE00 5.80
Green
#008000
ΔE00 6.44
Deep Green
#02590F
ΔE00 7.20
Dark Grass Green
#388004
ΔE00 7.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126F18 #6F1269
analogous
#3A6F12 #126F18 #126F46
triadic
#126F18 #18126F #6F1812
tetradic
#126F18 #123A6F #6F1269 #6F4612
square
#126F18 #123A6F #6F1269 #6F4612
split-complementary
#126F18 #46126F #6F123A
monochromatic
#041A06 #093A0D #126F18 #1BA423 #23D82F
Accessibility & contrast
On white
6.34
#126F18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#126F18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126F18
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126F18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126F18 | 1.00 | 6.34 | 3.31 | 6.34 |
| #FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716406
Deuteranopia (green-blind)
#675D22
Tritanopia (blue-blind)
#006C5E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #126f18; /* rgb */ color: rgb(18, 111, 24); /* oklch */ color: oklch(47.3% 0.146 143.5);
Tailwind
colors: {
custom: {
50: '#64995b',
500: '#126f18',
950: '#000000',
},
}SCSS
$custom: #126f18; $custom-light: #64995b; $custom-dark: #000000;
JSON
{
"hex": "#126f18",
"rgb": {
"r": 18,
"g": 111,
"b": 24
},
"hsl": {
"h": 123.871,
"s": 72.093,
"l": 25.294
},
"oklch": {
"l": 0.47297,
"c": 0.14631,
"h": 143.5
},
"luminance": 0.11563
}Semantic roles & 50–950 ramp
primary
#126F18
secondary
#A6379F
accent
#39E3EF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79