#126F28#126F28
#126F28 is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.5% C 0.135 H 146.4°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #126F28 |
|---|---|
| RGB | rgb(18, 111, 40) |
| HSL | hsl(134, 72%, 25%) |
| HSV | hsv(134, 84%, 44%) |
| CMYK | cmyk(83.8%, 0%, 64%, 56.5%) |
| CIE-LAB | lab(40.65, -41.67, 31.62) |
| CIE-LCH | lch(40.65, 52.31, 142.81°) |
| OKLab | oklab(47.46% -0.1121 0.0744) |
| OKLCH | oklch(47.46% 0.135 146.4) |
| XYZ | xyz(6.3164, 11.6499, 3.9228) |
| Luminance | 0.1165 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.81
Darkgreen
#006400
ΔE00 5.41
Tree Green
#2A7E19
ΔE00 6.91
Jungle Green
#048243
ΔE00 7.21
Deep Green
#02590F
ΔE00 7.26
Green
#008000
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126F28 #6F1259
analogous
#2A6F12 #126F28 #126F57
triadic
#126F28 #28126F #6F2812
tetradic
#126F28 #122A6F #6F1259 #6F5712
square
#126F28 #122A6F #6F1259 #6F5712
split-complementary
#126F28 #57126F #6F122A
monochromatic
#041A09 #093A15 #126F28 #1BA43B #23D84E
Accessibility & contrast
On white
6.31
#126F28 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#126F28 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126F28
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126F28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126F28 | 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)
#716420
Deuteranopia (green-blind)
#665D2E
Tritanopia (blue-blind)
#006C60
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #126f28; /* rgb */ color: rgb(18, 111, 40); /* oklch */ color: oklch(47.5% 0.135 146.4);
Tailwind
colors: {
custom: {
50: '#639965',
500: '#126f28',
950: '#000000',
},
}SCSS
$custom: #126f28; $custom-light: #639965; $custom-dark: #000000;
JSON
{
"hex": "#126f28",
"rgb": {
"r": 18,
"g": 111,
"b": 40
},
"hsl": {
"h": 134.194,
"s": 72.093,
"l": 25.294
},
"oklch": {
"l": 0.4746,
"c": 0.13455,
"h": 146.4
},
"luminance": 0.11651
}Semantic roles & 50–950 ramp
primary
#126F28
secondary
#A6378C
accent
#39C4EF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A