#126F30#126F30
#126F30 is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.6% C 0.127 H 148.6°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #126F30 |
|---|---|
| RGB | rgb(18, 111, 48) |
| HSL | hsl(139, 72%, 25%) |
| HSV | hsv(139, 84%, 44%) |
| CMYK | cmyk(83.8%, 0%, 56.8%, 56.5%) |
| CIE-LAB | lab(40.75, -40.50, 27.61) |
| CIE-LCH | lch(40.75, 49.02, 145.71°) |
| OKLab | oklab(47.57% -0.1087 0.0663) |
| OKLCH | oklch(47.57% 0.127 148.6) |
| XYZ | xyz(6.4669, 11.7101, 4.7152) |
| Luminance | 0.1171 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.81
Darkgreen
#006400
ΔE00 6.67
Jungle Green
#048243
ΔE00 6.69
Spruce
#0A5F38
ΔE00 7.25
Pine
#2B5D34
ΔE00 7.50
Deep Green
#02590F
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126F30 #6F1251
analogous
#226F12 #126F30 #126F5E
triadic
#126F30 #30126F #6F3012
tetradic
#126F30 #12226F #6F1251 #6F5E12
square
#126F30 #12226F #6F1251 #6F5E12
split-complementary
#126F30 #5E126F #6F1222
monochromatic
#041A0B #093A19 #126F30 #1BA447 #23D85E
Accessibility & contrast
On white
6.28
#126F30 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#126F30 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126F30
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126F30 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126F30 | 1.00 | 6.28 | 3.34 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#70642A
Deuteranopia (green-blind)
#665D35
Tritanopia (blue-blind)
#006D61
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #126f30; /* rgb */ color: rgb(18, 111, 48); /* oklch */ color: oklch(47.6% 0.127 148.6);
Tailwind
colors: {
custom: {
50: '#62996a',
500: '#126f30',
950: '#000000',
},
}SCSS
$custom: #126f30; $custom-light: #62996a; $custom-dark: #000000;
JSON
{
"hex": "#126f30",
"rgb": {
"r": 18,
"g": 111,
"b": 48
},
"hsl": {
"h": 139.355,
"s": 72.093,
"l": 25.294
},
"oklch": {
"l": 0.47573,
"c": 0.12735,
"h": 148.6
},
"luminance": 0.11711
}Semantic roles & 50–950 ramp
primary
#126F30
secondary
#A63782
accent
#39B4EF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A