#126538#126538
#126538 is a dark, moderate green. Relative luminance 0.097; OKLCH L 44.8% C 0.105 H 153.7°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #126538 |
|---|---|
| RGB | rgb(18, 101, 56) |
| HSL | hsl(147, 70%, 23%) |
| HSV | hsv(147, 82%, 40%) |
| CMYK | cmyk(82.2%, 0%, 44.6%, 60.4%) |
| CIE-LAB | lab(37.34, -35.15, 18.84) |
| CIE-LCH | lch(37.34, 39.88, 151.81°) |
| OKLab | oklab(44.79% -0.0946 0.0467) |
| OKLCH | oklch(44.79% 0.105 153.7) |
| XYZ | xyz(5.6164, 9.7208, 5.3209) |
| Luminance | 0.0972 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.41
Pine
#2B5D34
ΔE00 4.04
Hunter Green
#355E3B
ΔE00 5.47
Forest Green
#2D5A27
ΔE00 6.05
Deep Green
#02590F
ΔE00 7.65
Forest
#0B5509
ΔE00 8.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126538 #65123F
analogous
#156512 #126538 #126561
triadic
#126538 #381265 #653812
tetradic
#126538 #121565 #65123F #656112
square
#126538 #121565 #65123F #656112
split-complementary
#126538 #611265 #651215
monochromatic
#051A0E #09311B #126538 #1B9955 #25CD72
Accessibility & contrast
On white
7.13
#126538 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#126538 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #126538
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126538 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126538 | 1.00 | 7.13 | 2.94 | 7.13 |
| #FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#655C35
Deuteranopia (green-blind)
#5B553B
Tritanopia (blue-blind)
#00645A
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #126538; /* rgb */ color: rgb(18, 101, 56); /* oklch */ color: oklch(44.8% 0.105 153.7);
Tailwind
colors: {
custom: {
50: '#5f926f',
500: '#126538',
950: '#000000',
},
}SCSS
$custom: #126538; $custom-light: #5f926f; $custom-dark: #000000;
JSON
{
"hex": "#126538",
"rgb": {
"r": 18,
"g": 101,
"b": 56
},
"hsl": {
"h": 147.47,
"s": 69.748,
"l": 23.333
},
"oklch": {
"l": 0.44786,
"c": 0.10549,
"h": 153.7
},
"luminance": 0.09721
}Semantic roles & 50–950 ramp
primary
#126538
secondary
#9D366E
accent
#3B9BED
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#050D07
muted
#7A7E7A