#126E1B#126E1B
#126E1B is a mid, vivid green. Relative luminance 0.114; OKLCH L 47.0% C 0.143 H 143.9°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #126E1B |
|---|---|
| RGB | rgb(18, 110, 27) |
| HSL | hsl(126, 72%, 25%) |
| HSV | hsv(126, 84%, 43%) |
| CMYK | cmyk(83.6%, 0%, 75.5%, 56.9%) |
| CIE-LAB | lab(40.18, -42.81, 37.05) |
| CIE-LCH | lch(40.18, 56.62, 139.13°) |
| OKLab | oklab(47.03% -0.1158 0.0843) |
| OKLCH | oklch(47.03% 0.143 143.9) |
| XYZ | xyz(6.0228, 11.3589, 2.9118) |
| Luminance | 0.1136 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.84
Darkish Green
#287C37
ΔE00 5.79
Tree Green
#2A7E19
ΔE00 6.15
Deep Green
#02590F
ΔE00 6.81
Green
#008000
ΔE00 6.97
Forest
#0B5509
ΔE00 8.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126E1B #6E1265
analogous
#376E12 #126E1B #126E49
triadic
#126E1B #1B126E #6E1B12
tetradic
#126E1B #12376E #6E1265 #6E4912
square
#126E1B #12376E #6E1265 #6E4912
split-complementary
#126E1B #49126E #6E1237
monochromatic
#041A06 #09390E #126E1B #1BA328 #23D735
Accessibility & contrast
On white
6.42
#126E1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#126E1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126E1B
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126E1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126E1B | 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)
#70630D
Deuteranopia (green-blind)
#665C24
Tritanopia (blue-blind)
#006B5E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #126e1b; /* rgb */ color: rgb(18, 110, 27); /* oklch */ color: oklch(47.0% 0.143 143.9);
Tailwind
colors: {
custom: {
50: '#63995d',
500: '#126e1b',
950: '#000000',
},
}SCSS
$custom: #126e1b; $custom-light: #63995d; $custom-dark: #000000;
JSON
{
"hex": "#126e1b",
"rgb": {
"r": 18,
"g": 110,
"b": 27
},
"hsl": {
"h": 125.87,
"s": 71.875,
"l": 25.098
},
"oklch": {
"l": 0.47026,
"c": 0.14322,
"h": 143.9
},
"luminance": 0.1136
}Semantic roles & 50–950 ramp
primary
#126E1B
secondary
#A5379A
accent
#39DDEF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79