#126928#126928
#126928 is a mid, vivid green. Relative luminance 0.104; OKLCH L 45.7% C 0.127 H 147.0°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #126928 |
|---|---|
| RGB | rgb(18, 105, 40) |
| HSL | hsl(135, 71%, 24%) |
| HSV | hsv(135, 83%, 41%) |
| CMYK | cmyk(82.9%, 0%, 61.9%, 58.8%) |
| CIE-LAB | lab(38.52, -39.49, 29.16) |
| CIE-LCH | lch(38.52, 49.09, 143.56°) |
| OKLab | oklab(45.69% -0.1062 0.069) |
| OKLCH | oklch(45.69% 0.127 147) |
| XYZ | xyz(5.6836, 10.3843, 3.7119) |
| Luminance | 0.1038 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 5.06
Deep Green
#02590F
ΔE00 5.60
Forest Green
#2D5A27
ΔE00 6.19
Pine
#2B5D34
ΔE00 6.49
Darkish Green
#287C37
ΔE00 6.64
Spruce
#0A5F38
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126928 #691253
analogous
#286912 #126928 #126954
triadic
#126928 #281269 #692812
tetradic
#126928 #122869 #691253 #695412
square
#126928 #122869 #691253 #695412
split-complementary
#126928 #541269 #691228
monochromatic
#041A0A #093514 #126928 #1B9D3C #24D150
Accessibility & contrast
On white
6.82
#126928 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#126928 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126928
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126928 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126928 | 1.00 | 6.82 | 3.08 | 6.82 |
| #FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5F21
Deuteranopia (green-blind)
#61582D
Tritanopia (blue-blind)
#00665B
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #126928; /* rgb */ color: rgb(18, 105, 40); /* oklch */ color: oklch(45.7% 0.127 147.0);
Tailwind
colors: {
custom: {
50: '#619564',
500: '#126928',
950: '#000000',
},
}SCSS
$custom: #126928; $custom-light: #619564; $custom-dark: #000000;
JSON
{
"hex": "#126928",
"rgb": {
"r": 18,
"g": 105,
"b": 40
},
"hsl": {
"h": 135.172,
"s": 70.732,
"l": 24.118
},
"oklch": {
"l": 0.45692,
"c": 0.12668,
"h": 147
},
"luminance": 0.10385
}Semantic roles & 50–950 ramp
primary
#126928
secondary
#A13686
accent
#3AC0ED
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D05
muted
#7A7E7A