#126434#126434
#126434 is a dark, moderate green. Relative luminance 0.095; OKLCH L 44.4% C 0.108 H 152.1°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #126434 |
|---|---|
| RGB | rgb(18, 100, 52) |
| HSL | hsl(145, 69%, 23%) |
| HSV | hsv(145, 82%, 39%) |
| CMYK | cmyk(82%, 0%, 48%, 60.8%) |
| CIE-LAB | lab(36.91, -35.54, 20.60) |
| CIE-LCH | lch(36.91, 41.08, 149.90°) |
| OKLab | oklab(44.41% -0.0955 0.0507) |
| OKLCH | oklch(44.41% 0.108 152.1) |
| XYZ | xyz(5.4260, 9.4902, 4.7940) |
| Luminance | 0.0949 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.79
Pine
#2B5D34
ΔE00 3.87
Forest Green
#2D5A27
ΔE00 5.43
Hunter Green
#355E3B
ΔE00 5.58
Deep Green
#02590F
ΔE00 6.75
Forest
#0B5509
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126434 #641242
analogous
#196412 #126434 #12645D
triadic
#126434 #341264 #643412
tetradic
#126434 #121964 #641242 #645D12
square
#126434 #121964 #641242 #645D12
split-complementary
#126434 #5D1264 #641219
monochromatic
#051A0D #093019 #126434 #1B984F #25CC6A
Accessibility & contrast
On white
7.25
#126434 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#126434 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #126434
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126434 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126434 | 1.00 | 7.25 | 2.90 | 7.25 |
| #FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#645B30
Deuteranopia (green-blind)
#5B5437
Tritanopia (blue-blind)
#006258
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #126434; /* rgb */ color: rgb(18, 100, 52); /* oklch */ color: oklch(44.4% 0.108 152.1);
Tailwind
colors: {
custom: {
50: '#5f916c',
500: '#126434',
950: '#000000',
},
}SCSS
$custom: #126434; $custom-light: #5f916c; $custom-dark: #000000;
JSON
{
"hex": "#126434",
"rgb": {
"r": 18,
"g": 100,
"b": 52
},
"hsl": {
"h": 144.878,
"s": 69.492,
"l": 23.137
},
"oklch": {
"l": 0.44412,
"c": 0.10814,
"h": 152.1
},
"luminance": 0.09491
}Semantic roles & 50–950 ramp
primary
#126434
secondary
#9C3672
accent
#3BA3EC
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#050D07
muted
#7A7E7A