#126118#126118
#126118 is a dark, vivid green. Relative luminance 0.087; OKLCH L 43.1% C 0.129 H 143.8°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).
Color values
| HEX | #126118 |
|---|---|
| RGB | rgb(18, 97, 24) |
| HSL | hsl(125, 69%, 23%) |
| HSV | hsv(125, 81%, 38%) |
| CMYK | cmyk(81.4%, 0%, 75.3%, 62%) |
| CIE-LAB | lab(35.49, -38.54, 33.45) |
| CIE-LCH | lch(35.49, 51.03, 139.05°) |
| OKLab | oklab(43.12% -0.1043 0.0764) |
| OKLCH | oklch(43.12% 0.129 143.8) |
| XYZ | xyz(4.6887, 8.7434, 2.3045) |
| Luminance | 0.0874 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.63
Darkgreen
#006400
ΔE00 3.03
Forest
#0B5509
ΔE00 3.87
Forest Green
#2D5A27
ΔE00 5.10
Pine
#2B5D34
ΔE00 6.84
Bottle Green
#044A05
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126118 #61125B
analogous
#336112 #126118 #126140
triadic
#126118 #181261 #611812
tetradic
#126118 #123361 #61125B #614012
square
#126118 #123361 #61125B #614012
split-complementary
#126118 #401261 #611233
monochromatic
#051A06 #082D0B #126118 #1C9525 #25C832
Accessibility & contrast
On white
7.64
#126118 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#126118 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #126118
7.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126118 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126118 | 1.00 | 7.64 | 2.75 | 7.64 |
| #FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#63570C
Deuteranopia (green-blind)
#5A511F
Tritanopia (blue-blind)
#005E53
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #126118; /* rgb */ color: rgb(18, 97, 24); /* oklch */ color: oklch(43.1% 0.129 143.8);
Tailwind
colors: {
custom: {
50: '#608f5a',
500: '#126118',
950: '#000000',
},
}SCSS
$custom: #126118; $custom-light: #608f5a; $custom-dark: #000000;
JSON
{
"hex": "#126118",
"rgb": {
"r": 18,
"g": 97,
"b": 24
},
"hsl": {
"h": 124.557,
"s": 68.696,
"l": 22.549
},
"oklch": {
"l": 0.43118,
"c": 0.12928,
"h": 143.8
},
"luminance": 0.08744
}Semantic roles & 50–950 ramp
primary
#126118
secondary
#993692
accent
#3CDEEC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79