#126438#126438
#126438 is a dark, moderate green. Relative luminance 0.095; OKLCH L 44.5% C 0.104 H 154.0°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #126438 |
|---|---|
| RGB | rgb(18, 100, 56) |
| HSL | hsl(148, 69%, 23%) |
| HSV | hsv(148, 82%, 39%) |
| CMYK | cmyk(82%, 0%, 44%, 60.8%) |
| CIE-LAB | lab(36.98, -34.74, 18.37) |
| CIE-LCH | lch(36.98, 39.30, 152.12°) |
| OKLab | oklab(44.49% -0.0935 0.0456) |
| OKLCH | oklch(44.49% 0.104 154) |
| XYZ | xyz(5.5199, 9.5278, 5.2887) |
| Luminance | 0.0953 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.04
Pine
#2B5D34
ΔE00 3.83
Hunter Green
#355E3B
ΔE00 5.28
Forest Green
#2D5A27
ΔE00 5.96
Deep Green
#02590F
ΔE00 7.67
Forest
#0B5509
ΔE00 8.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126438 #64123E
analogous
#156412 #126438 #126461
triadic
#126438 #381264 #643812
tetradic
#126438 #121564 #64123E #646112
square
#126438 #121564 #64123E #646112
split-complementary
#126438 #611264 #641215
monochromatic
#051A0F #09301B #126438 #1B9855 #25CC72
Accessibility & contrast
On white
7.23
#126438 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#126438 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #126438
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126438 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126438 | 1.00 | 7.23 | 2.91 | 7.23 |
| #FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#645B35
Deuteranopia (green-blind)
#5A543B
Tritanopia (blue-blind)
#006359
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #126438; /* rgb */ color: rgb(18, 100, 56); /* oklch */ color: oklch(44.5% 0.104 154.0);
Tailwind
colors: {
custom: {
50: '#5f916f',
500: '#126438',
950: '#000000',
},
}SCSS
$custom: #126438; $custom-light: #5f916f; $custom-dark: #000000;
JSON
{
"hex": "#126438",
"rgb": {
"r": 18,
"g": 100,
"b": 56
},
"hsl": {
"h": 147.805,
"s": 69.492,
"l": 23.137
},
"oklch": {
"l": 0.44493,
"c": 0.10405,
"h": 154
},
"luminance": 0.09528
}Semantic roles & 50–950 ramp
primary
#126438
secondary
#9C366D
accent
#3B9AEC
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#050D07
muted
#7A7E7A