#126835#126835
#126835 is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.6% C 0.113 H 151.6°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #126835 |
|---|---|
| RGB | rgb(18, 104, 53) |
| HSL | hsl(144, 70%, 24%) |
| HSV | hsv(144, 83%, 41%) |
| CMYK | cmyk(82.7%, 0%, 49%, 59.2%) |
| CIE-LAB | lab(38.35, -36.95, 21.87) |
| CIE-LCH | lch(38.35, 42.94, 149.37°) |
| OKLab | oklab(45.61% -0.0993 0.0536) |
| OKLCH | oklch(45.61% 0.113 151.6) |
| XYZ | xyz(5.8419, 10.2856, 5.0449) |
| Luminance | 0.1029 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 4.02
Pine
#2B5D34
ΔE00 4.89
Forest Green
#2D5A27
ΔE00 6.18
Hunter Green
#355E3B
ΔE00 6.38
Deep Green
#02590F
ΔE00 7.16
Darkish Green
#287C37
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126835 #681245
analogous
#1A6812 #126835 #126860
triadic
#126835 #351268 #683512
tetradic
#126835 #121A68 #681245 #686012
square
#126835 #121A68 #681245 #686012
split-complementary
#126835 #601268 #68121A
monochromatic
#051A0D #09341A #126835 #1B9C50 #24D06A
Accessibility & contrast
On white
6.87
#126835 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#126835 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126835
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126835 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126835 | 1.00 | 6.87 | 3.06 | 6.87 |
| #FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#685E31
Deuteranopia (green-blind)
#5F5839
Tritanopia (blue-blind)
#00665C
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #126835; /* rgb */ color: rgb(18, 104, 53); /* oklch */ color: oklch(45.6% 0.113 151.6);
Tailwind
colors: {
custom: {
50: '#60946d',
500: '#126835',
950: '#000000',
},
}SCSS
$custom: #126835; $custom-light: #60946d; $custom-dark: #000000;
JSON
{
"hex": "#126835",
"rgb": {
"r": 18,
"g": 104,
"b": 53
},
"hsl": {
"h": 144.419,
"s": 70.492,
"l": 23.922
},
"oklch": {
"l": 0.45607,
"c": 0.11282,
"h": 151.6
},
"luminance": 0.10286
}Semantic roles & 50–950 ramp
primary
#126835
secondary
#A03675
accent
#3BA5ED
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D07
muted
#7A7E7A