#126F19#126F19
#126F19 is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.3% C 0.146 H 143.6°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #126F19 |
|---|---|
| RGB | rgb(18, 111, 25) |
| HSL | hsl(125, 72%, 25%) |
| HSV | hsv(125, 84%, 44%) |
| CMYK | cmyk(83.8%, 0%, 77.5%, 56.5%) |
| CIE-LAB | lab(40.52, -43.33, 38.20) |
| CIE-LCH | lch(40.52, 57.77, 138.60°) |
| OKLab | oklab(47.31% -0.1173 0.0864) |
| OKLCH | oklch(47.31% 0.146 143.6) |
| XYZ | xyz(6.1090, 11.5669, 2.8302) |
| Luminance | 0.1157 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.96
Darkish Green
#287C37
ΔE00 5.72
Tree Green
#2A7E19
ΔE00 5.73
Green
#008000
ΔE00 6.50
Deep Green
#02590F
ΔE00 7.18
Dark Grass Green
#388004
ΔE00 7.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126F19 #6F1268
analogous
#396F12 #126F19 #126F47
triadic
#126F19 #19126F #6F1912
tetradic
#126F19 #12396F #6F1268 #6F4712
square
#126F19 #12396F #6F1268 #6F4712
split-complementary
#126F19 #47126F #6F1239
monochromatic
#041A06 #093A0D #126F19 #1BA425 #23D831
Accessibility & contrast
On white
6.34
#126F19 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#126F19 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126F19
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126F19 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126F19 | 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)
#716408
Deuteranopia (green-blind)
#675D22
Tritanopia (blue-blind)
#006C5E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #126f19; /* rgb */ color: rgb(18, 111, 25); /* oklch */ color: oklch(47.3% 0.146 143.6);
Tailwind
colors: {
custom: {
50: '#64995c',
500: '#126f19',
950: '#000000',
},
}SCSS
$custom: #126f19; $custom-light: #64995c; $custom-dark: #000000;
JSON
{
"hex": "#126f19",
"rgb": {
"r": 18,
"g": 111,
"b": 25
},
"hsl": {
"h": 124.516,
"s": 72.093,
"l": 25.294
},
"oklch": {
"l": 0.47305,
"c": 0.1457,
"h": 143.6
},
"luminance": 0.11568
}Semantic roles & 50–950 ramp
primary
#126F19
secondary
#A6379E
accent
#39E1EF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79