#126A30#126A30
#126A30 is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.1% C 0.121 H 149.3°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #126A30 |
|---|---|
| RGB | rgb(18, 106, 48) |
| HSL | hsl(140, 71%, 24%) |
| HSV | hsv(140, 83%, 42%) |
| CMYK | cmyk(83%, 0%, 54.7%, 58.4%) |
| CIE-LAB | lab(38.98, -38.62, 25.45) |
| CIE-LCH | lch(38.98, 46.25, 146.61°) |
| OKLab | oklab(46.11% -0.1037 0.0615) |
| OKLCH | oklch(46.11% 0.121 149.3) |
| XYZ | xyz(5.9365, 10.6493, 4.5384) |
| Luminance | 0.1065 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 5.57
Pine
#2B5D34
ΔE00 5.90
Forest Green
#2D5A27
ΔE00 6.41
Darkish Green
#287C37
ΔE00 6.52
Darkgreen
#006400
ΔE00 6.64
Deep Green
#02590F
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126A30 #6A124C
analogous
#206A12 #126A30 #126A5C
triadic
#126A30 #30126A #6A3012
tetradic
#126A30 #12206A #6A124C #6A5C12
square
#126A30 #12206A #6A124C #6A5C12
split-complementary
#126A30 #5C126A #6A1220
monochromatic
#041A0C #093618 #126A30 #1B9E48 #24D35F
Accessibility & contrast
On white
6.71
#126A30 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#126A30 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126A30
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126A30 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126A30 | 1.00 | 6.71 | 3.13 | 6.71 |
| #FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B602B
Deuteranopia (green-blind)
#615934
Tritanopia (blue-blind)
#00685D
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #126a30; /* rgb */ color: rgb(18, 106, 48); /* oklch */ color: oklch(46.1% 0.121 149.3);
Tailwind
colors: {
custom: {
50: '#61956a',
500: '#126a30',
950: '#000000',
},
}SCSS
$custom: #126a30; $custom-light: #61956a; $custom-dark: #000000;
JSON
{
"hex": "#126a30",
"rgb": {
"r": 18,
"g": 106,
"b": 48
},
"hsl": {
"h": 140.455,
"s": 70.968,
"l": 24.314
},
"oklch": {
"l": 0.46107,
"c": 0.12056,
"h": 149.3
},
"luminance": 0.1065
}Semantic roles & 50–950 ramp
primary
#126A30
secondary
#A2367D
accent
#3AB0EE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A