#18681F#18681F
#18681F is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.4% C 0.131 H 144.2°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #18681F |
|---|---|
| RGB | rgb(24, 104, 31) |
| HSL | hsl(125, 63%, 25%) |
| HSV | hsv(125, 77%, 41%) |
| CMYK | cmyk(76.9%, 0%, 70.2%, 59.2%) |
| CIE-LAB | lab(38.19, -39.31, 33.22) |
| CIE-LCH | lch(38.19, 51.47, 139.79°) |
| OKLab | oklab(45.42% -0.1063 0.0768) |
| OKLCH | oklch(45.42% 0.131 144.2) |
| XYZ | xyz(5.5740, 10.1931, 2.9698) |
| Luminance | 0.1019 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.47
Deep Green
#02590F
ΔE00 4.92
Forest
#0B5509
ΔE00 6.16
Forest Green
#2D5A27
ΔE00 6.19
Darkish Green
#287C37
ΔE00 7.09
Pine
#2B5D34
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18681F #681861
analogous
#396818 #18681F #186847
triadic
#18681F #1F1868 #681F18
tetradic
#18681F #183968 #681861 #684718
square
#18681F #183968 #681861 #684718
split-complementary
#18681F #471868 #681839
monochromatic
#061907 #0D3610 #18681F #239A2E #2FCB3D
Accessibility & contrast
On white
6.91
#18681F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#18681F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #18681F
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18681F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18681F | 1.00 | 6.91 | 3.04 | 6.91 |
| #FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5E15
Deuteranopia (green-blind)
#615726
Tritanopia (blue-blind)
#006559
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #18681f; /* rgb */ color: rgb(24, 104, 31); /* oklch */ color: oklch(45.4% 0.131 144.2);
Tailwind
colors: {
custom: {
50: '#63945e',
500: '#18681f',
950: '#000000',
},
}SCSS
$custom: #18681f; $custom-light: #63945e; $custom-dark: #000000;
JSON
{
"hex": "#18681f",
"rgb": {
"r": 24,
"g": 104,
"b": 31
},
"hsl": {
"h": 125.25,
"s": 62.5,
"l": 25.098
},
"oklch": {
"l": 0.45415,
"c": 0.13116,
"h": 144.2
},
"luminance": 0.10194
}Semantic roles & 50–950 ramp
primary
#18681F
secondary
#9E3E96
accent
#42D7E6
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D05
muted
#7A7E79