#126237#126237
#126237 is a dark, moderate green. Relative luminance 0.091; OKLCH L 43.9% C 0.102 H 154.1°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).
Color values
| HEX | #126237 |
|---|---|
| RGB | rgb(18, 98, 55) |
| HSL | hsl(148, 69%, 23%) |
| HSV | hsv(148, 82%, 38%) |
| CMYK | cmyk(81.6%, 0%, 43.9%, 61.6%) |
| CIE-LAB | lab(36.25, -34.12, 18.00) |
| CIE-LCH | lch(36.25, 38.58, 152.19°) |
| OKLab | oklab(43.88% -0.0919 0.0447) |
| OKLCH | oklch(43.88% 0.102 154.1) |
| XYZ | xyz(5.3062, 9.1392, 5.0981) |
| Luminance | 0.0914 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 1.48
Pine
#2B5D34
ΔE00 3.47
Hunter Green
#355E3B
ΔE00 5.01
Forest Green
#2D5A27
ΔE00 5.69
Deep Green
#02590F
ΔE00 7.52
Pine Green
#0A481E
ΔE00 8.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126237 #62123D
analogous
#156212 #126237 #12625F
triadic
#126237 #371262 #623712
tetradic
#126237 #121562 #62123D #625F12
square
#126237 #121562 #62123D #625F12
split-complementary
#126237 #5F1262 #621215
monochromatic
#051A0F #092E1A #126237 #1B9654 #25C971
Accessibility & contrast
On white
7.43
#126237 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#126237 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #126237
7.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126237 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126237 | 1.00 | 7.43 | 2.83 | 7.43 |
| #FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#625934
Deuteranopia (green-blind)
#58533A
Tritanopia (blue-blind)
#006157
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #126237; /* rgb */ color: rgb(18, 98, 55); /* oklch */ color: oklch(43.9% 0.102 154.1);
Tailwind
colors: {
custom: {
50: '#5f8f6e',
500: '#126237',
950: '#000000',
},
}SCSS
$custom: #126237; $custom-light: #5f8f6e; $custom-dark: #000000;
JSON
{
"hex": "#126237",
"rgb": {
"r": 18,
"g": 98,
"b": 55
},
"hsl": {
"h": 147.75,
"s": 68.966,
"l": 22.745
},
"oklch": {
"l": 0.43883,
"c": 0.10219,
"h": 154.1
},
"luminance": 0.0914
}Semantic roles & 50–950 ramp
primary
#126237
secondary
#9A366C
accent
#3C9AEC
background
#F5F8F6
surface
#EAF0EC
border
#C6CBC7
text
#050C07
muted
#797D7A