#126F15#126F15
#126F15 is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.3% C 0.148 H 143.1°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #126F15 |
|---|---|
| RGB | rgb(18, 111, 21) |
| HSL | hsl(122, 72%, 25%) |
| HSV | hsv(122, 84%, 44%) |
| CMYK | cmyk(83.8%, 0%, 81.1%, 56.5%) |
| CIE-LAB | lab(40.49, -43.66, 39.67) |
| CIE-LCH | lch(40.49, 58.99, 137.74°) |
| OKLab | oklab(47.28% -0.1184 0.0889) |
| OKLCH | oklch(47.28% 0.148 143.1) |
| XYZ | xyz(6.0689, 11.5509, 2.6190) |
| Luminance | 0.1155 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.79
Tree Green
#2A7E19
ΔE00 5.58
Darkish Green
#287C37
ΔE00 6.03
Green
#008000
ΔE00 6.28
Deep Green
#02590F
ΔE00 7.27
Dark Grass Green
#388004
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126F15 #6F126C
analogous
#3E6F12 #126F15 #126F43
triadic
#126F15 #15126F #6F1512
tetradic
#126F15 #123E6F #6F126C #6F4312
square
#126F15 #123E6F #6F126C #6F4312
split-complementary
#126F15 #43126F #6F123E
monochromatic
#041A05 #093A0B #126F15 #1BA41F #23D829
Accessibility & contrast
On white
6.34
#126F15 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#126F15 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126F15
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126F15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126F15 | 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)
#726401
Deuteranopia (green-blind)
#685D1F
Tritanopia (blue-blind)
#006C5E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #126f15; /* rgb */ color: rgb(18, 111, 21); /* oklch */ color: oklch(47.3% 0.148 143.1);
Tailwind
colors: {
custom: {
50: '#64995a',
500: '#126f15',
950: '#000000',
},
}SCSS
$custom: #126f15; $custom-light: #64995a; $custom-dark: #000000;
JSON
{
"hex": "#126f15",
"rgb": {
"r": 18,
"g": 111,
"b": 21
},
"hsl": {
"h": 121.935,
"s": 72.093,
"l": 25.294
},
"oklch": {
"l": 0.47275,
"c": 0.14805,
"h": 143.1
},
"luminance": 0.11552
}Semantic roles & 50–950 ramp
primary
#126F15
secondary
#A637A3
accent
#39E9EF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79