#126018#126018
#126018 is a dark, vivid green. Relative luminance 0.086; OKLCH L 42.8% C 0.128 H 143.8°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #126018 |
|---|---|
| RGB | rgb(18, 96, 24) |
| HSL | hsl(125, 68%, 22%) |
| HSV | hsv(125, 81%, 38%) |
| CMYK | cmyk(81.3%, 0%, 75%, 62.4%) |
| CIE-LAB | lab(35.12, -38.19, 33.07) |
| CIE-LCH | lch(35.12, 50.51, 139.11°) |
| OKLab | oklab(42.82% -0.1033 0.0756) |
| OKLCH | oklch(42.82% 0.128 143.8) |
| XYZ | xyz(4.5969, 8.5598, 2.2739) |
| Luminance | 0.0856 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.35
Darkgreen
#006400
ΔE00 3.25
Forest
#0B5509
ΔE00 3.58
Forest Green
#2D5A27
ΔE00 4.88
Pine
#2B5D34
ΔE00 6.68
Bottle Green
#044A05
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126018 #60125A
analogous
#336012 #126018 #12603F
triadic
#126018 #181260 #601812
tetradic
#126018 #123360 #60125A #603F12
square
#126018 #123360 #60125A #603F12
split-complementary
#126018 #3F1260 #601233
monochromatic
#051A06 #082C0B #126018 #1C9425 #25C732
Accessibility & contrast
On white
7.74
#126018 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#126018 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #126018
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126018 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126018 | 1.00 | 7.74 | 2.71 | 7.74 |
| #FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#62560D
Deuteranopia (green-blind)
#59501F
Tritanopia (blue-blind)
#005D52
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #126018; /* rgb */ color: rgb(18, 96, 24); /* oklch */ color: oklch(42.8% 0.128 143.8);
Tailwind
colors: {
custom: {
50: '#5f8e59',
500: '#126018',
950: '#000000',
},
}SCSS
$custom: #126018; $custom-light: #5f8e59; $custom-dark: #000000;
JSON
{
"hex": "#126018",
"rgb": {
"r": 18,
"g": 96,
"b": 24
},
"hsl": {
"h": 124.615,
"s": 68.421,
"l": 22.353
},
"oklch": {
"l": 0.42816,
"c": 0.12802,
"h": 143.8
},
"luminance": 0.0856
}Semantic roles & 50–950 ramp
primary
#126018
secondary
#983691
accent
#3DDEEB
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79