#126F1C#126F1C
#126F1C is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.3% C 0.144 H 144.1°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #126F1C |
|---|---|
| RGB | rgb(18, 111, 28) |
| HSL | hsl(126, 72%, 25%) |
| HSV | hsv(126, 84%, 44%) |
| CMYK | cmyk(83.8%, 0%, 74.8%, 56.5%) |
| CIE-LAB | lab(40.54, -43.06, 37.01) |
| CIE-LCH | lch(40.54, 56.78, 139.32°) |
| OKLab | oklab(47.33% -0.1164 0.0844) |
| OKLCH | oklch(47.33% 0.144 144.1) |
| XYZ | xyz(6.1431, 11.5806, 3.0099) |
| Luminance | 0.1158 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.15
Darkish Green
#287C37
ΔE00 5.50
Tree Green
#2A7E19
ΔE00 5.88
Green
#008000
ΔE00 6.72
Deep Green
#02590F
ΔE00 7.13
Dark Grass Green
#388004
ΔE00 8.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126F1C #6F1265
analogous
#366F12 #126F1C #126F4B
triadic
#126F1C #1C126F #6F1C12
tetradic
#126F1C #12366F #6F1265 #6F4B12
square
#126F1C #12366F #6F1265 #6F4B12
split-complementary
#126F1C #4B126F #6F1236
monochromatic
#041A07 #093A0F #126F1C #1BA429 #23D837
Accessibility & contrast
On white
6.33
#126F1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#126F1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126F1C
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126F1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126F1C | 1.00 | 6.33 | 3.32 | 6.33 |
| #FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#71640E
Deuteranopia (green-blind)
#675D24
Tritanopia (blue-blind)
#006C5F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #126f1c; /* rgb */ color: rgb(18, 111, 28); /* oklch */ color: oklch(47.3% 0.144 144.1);
Tailwind
colors: {
custom: {
50: '#63995e',
500: '#126f1c',
950: '#000000',
},
}SCSS
$custom: #126f1c; $custom-light: #63995e; $custom-dark: #000000;
JSON
{
"hex": "#126f1c",
"rgb": {
"r": 18,
"g": 111,
"b": 28
},
"hsl": {
"h": 126.452,
"s": 72.093,
"l": 25.294
},
"oklch": {
"l": 0.4733,
"c": 0.14376,
"h": 144.1
},
"luminance": 0.11581
}Semantic roles & 50–950 ramp
primary
#126F1C
secondary
#A6379A
accent
#39DBEF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79