#126F26#126F26
#126F26 is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.4% C 0.136 H 146.0°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #126F26 |
|---|---|
| RGB | rgb(18, 111, 38) |
| HSL | hsl(133, 72%, 25%) |
| HSV | hsv(133, 84%, 44%) |
| CMYK | cmyk(83.8%, 0%, 65.8%, 56.5%) |
| CIE-LAB | lab(40.63, -41.94, 32.58) |
| CIE-LCH | lch(40.63, 53.10, 142.15°) |
| OKLab | oklab(47.44% -0.1129 0.0762) |
| OKLCH | oklch(47.44% 0.136 146) |
| XYZ | xyz(6.2833, 11.6367, 3.7483) |
| Luminance | 0.1164 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.88
Darkgreen
#006400
ΔE00 5.14
Tree Green
#2A7E19
ΔE00 6.69
Deep Green
#02590F
ΔE00 7.19
Jungle Green
#048243
ΔE00 7.37
Green
#008000
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126F26 #6F125B
analogous
#2D6F12 #126F26 #126F54
triadic
#126F26 #26126F #6F2612
tetradic
#126F26 #122D6F #6F125B #6F5412
square
#126F26 #122D6F #6F125B #6F5412
split-complementary
#126F26 #54126F #6F122D
monochromatic
#041A09 #093A14 #126F26 #1BA438 #23D84A
Accessibility & contrast
On white
6.31
#126F26 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#126F26 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126F26
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126F26 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126F26 | 1.00 | 6.31 | 3.33 | 6.31 |
| #FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#71641E
Deuteranopia (green-blind)
#675D2C
Tritanopia (blue-blind)
#006C60
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #126f26; /* rgb */ color: rgb(18, 111, 38); /* oklch */ color: oklch(47.4% 0.136 146.0);
Tailwind
colors: {
custom: {
50: '#639963',
500: '#126f26',
950: '#000000',
},
}SCSS
$custom: #126f26; $custom-light: #639963; $custom-dark: #000000;
JSON
{
"hex": "#126f26",
"rgb": {
"r": 18,
"g": 111,
"b": 38
},
"hsl": {
"h": 132.903,
"s": 72.093,
"l": 25.294
},
"oklch": {
"l": 0.47436,
"c": 0.13622,
"h": 146
},
"luminance": 0.11637
}Semantic roles & 50–950 ramp
primary
#126F26
secondary
#A6378E
accent
#39C8EF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E05
muted
#7A7E7A