#126931#126931
#126931 is a mid, moderate green. Relative luminance 0.105; OKLCH L 45.8% C 0.118 H 149.9°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #126931 |
|---|---|
| RGB | rgb(18, 105, 49) |
| HSL | hsl(141, 71%, 24%) |
| HSV | hsv(141, 83%, 41%) |
| CMYK | cmyk(82.9%, 0%, 53.3%, 58.8%) |
| CIE-LAB | lab(38.64, -38.06, 24.48) |
| CIE-LCH | lch(38.64, 45.26, 147.25°) |
| OKLab | oklab(45.83% -0.1022 0.0594) |
| OKLCH | oklch(45.83% 0.118 149.9) |
| XYZ | xyz(5.8549, 10.4528, 4.6142) |
| Luminance | 0.1045 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 5.06
Pine
#2B5D34
ΔE00 5.49
Forest Green
#2D5A27
ΔE00 6.18
Deep Green
#02590F
ΔE00 6.62
Darkgreen
#006400
ΔE00 6.92
Darkish Green
#287C37
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126931 #69124A
analogous
#1F6912 #126931 #12695D
triadic
#126931 #311269 #693112
tetradic
#126931 #121F69 #69124A #695D12
square
#126931 #121F69 #69124A #695D12
split-complementary
#126931 #5D1269 #69121F
monochromatic
#041A0C #093519 #126931 #1B9D49 #24D162
Accessibility & contrast
On white
6.79
#126931 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#126931 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126931
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126931 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126931 | 1.00 | 6.79 | 3.09 | 6.79 |
| #FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5F2C
Deuteranopia (green-blind)
#605835
Tritanopia (blue-blind)
#00675C
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #126931; /* rgb */ color: rgb(18, 105, 49); /* oklch */ color: oklch(45.8% 0.118 149.9);
Tailwind
colors: {
custom: {
50: '#61956a',
500: '#126931',
950: '#000000',
},
}SCSS
$custom: #126931; $custom-light: #61956a; $custom-dark: #000000;
JSON
{
"hex": "#126931",
"rgb": {
"r": 18,
"g": 105,
"b": 49
},
"hsl": {
"h": 141.379,
"s": 70.732,
"l": 24.118
},
"oklch": {
"l": 0.4583,
"c": 0.11821,
"h": 149.9
},
"luminance": 0.10453
}Semantic roles & 50–950 ramp
primary
#126931
secondary
#A1367B
accent
#3AAEED
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A