#126827#126827
#126827 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.4% C 0.126 H 146.8°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #126827 |
|---|---|
| RGB | rgb(18, 104, 39) |
| HSL | hsl(135, 70%, 24%) |
| HSV | hsv(135, 83%, 41%) |
| CMYK | cmyk(82.7%, 0%, 62.5%, 59.2%) |
| CIE-LAB | lab(38.15, -39.26, 29.24) |
| CIE-LCH | lch(38.15, 48.96, 143.33°) |
| OKLab | oklab(45.38% -0.1056 0.0691) |
| OKLCH | oklch(45.38% 0.126 146.8) |
| XYZ | xyz(5.5656, 10.1750, 3.5897) |
| Luminance | 0.1018 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.90
Deep Green
#02590F
ΔE00 5.28
Forest Green
#2D5A27
ΔE00 5.94
Pine
#2B5D34
ΔE00 6.33
Spruce
#0A5F38
ΔE00 6.57
Forest
#0B5509
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126827 #681253
analogous
#286812 #126827 #126852
triadic
#126827 #271268 #682712
tetradic
#126827 #122868 #681253 #685212
square
#126827 #122868 #681253 #685212
split-complementary
#126827 #521268 #681228
monochromatic
#051A0A #093413 #126827 #1B9C3B #24D04E
Accessibility & contrast
On white
6.92
#126827 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#126827 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126827
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126827 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126827 | 1.00 | 6.92 | 3.04 | 6.92 |
| #FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#695E20
Deuteranopia (green-blind)
#60572C
Tritanopia (blue-blind)
#00655A
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #126827; /* rgb */ color: rgb(18, 104, 39); /* oklch */ color: oklch(45.4% 0.126 146.8);
Tailwind
colors: {
custom: {
50: '#619463',
500: '#126827',
950: '#000000',
},
}SCSS
$custom: #126827; $custom-light: #619463; $custom-dark: #000000;
JSON
{
"hex": "#126827",
"rgb": {
"r": 18,
"g": 104,
"b": 39
},
"hsl": {
"h": 134.651,
"s": 70.492,
"l": 23.922
},
"oklch": {
"l": 0.45382,
"c": 0.12624,
"h": 146.8
},
"luminance": 0.10176
}Semantic roles & 50–950 ramp
primary
#126827
secondary
#A03686
accent
#3BC2ED
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D05
muted
#7A7E7A