#126728#126728
#126728 is a mid, vivid green. Relative luminance 0.100; OKLCH L 45.1% C 0.124 H 147.2°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).
Color values
| HEX | #126728 |
|---|---|
| RGB | rgb(18, 103, 40) |
| HSL | hsl(136, 70%, 24%) |
| HSV | hsv(136, 83%, 40%) |
| CMYK | cmyk(82.5%, 0%, 61.2%, 59.6%) |
| CIE-LAB | lab(37.81, -38.75, 28.32) |
| CIE-LCH | lch(37.81, 47.99, 143.84°) |
| OKLab | oklab(45.1% -0.1042 0.0672) |
| OKLCH | oklch(45.1% 0.124 147.2) |
| XYZ | xyz(5.4823, 9.9816, 3.6448) |
| Luminance | 0.0998 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 5.14
Darkgreen
#006400
ΔE00 5.16
Forest Green
#2D5A27
ΔE00 5.63
Pine
#2B5D34
ΔE00 5.93
Spruce
#0A5F38
ΔE00 6.12
Forest
#0B5509
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126728 #671251
analogous
#266712 #126728 #126752
triadic
#126728 #281267 #672812
tetradic
#126728 #122667 #671251 #675212
square
#126728 #122667 #671251 #675212
split-complementary
#126728 #521267 #671226
monochromatic
#051A0A #093314 #126728 #1B9B3C #24CF50
Accessibility & contrast
On white
7.01
#126728 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
3.00
#126728 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126728
7.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126728 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126728 | 1.00 | 7.01 | 3.00 | 7.01 |
| #FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#685D22
Deuteranopia (green-blind)
#5F562D
Tritanopia (blue-blind)
#006559
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #126728; /* rgb */ color: rgb(18, 103, 40); /* oklch */ color: oklch(45.1% 0.124 147.2);
Tailwind
colors: {
custom: {
50: '#609364',
500: '#126728',
950: '#000000',
},
}SCSS
$custom: #126728; $custom-light: #609364; $custom-dark: #000000;
JSON
{
"hex": "#126728",
"rgb": {
"r": 18,
"g": 103,
"b": 40
},
"hsl": {
"h": 135.529,
"s": 70.248,
"l": 23.725
},
"oklch": {
"l": 0.45099,
"c": 0.12401,
"h": 147.2
},
"luminance": 0.09982
}Semantic roles & 50–950 ramp
primary
#126728
secondary
#9F3684
accent
#3BBFED
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D05
muted
#7A7E7A