#18681C#18681C
#18681C is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.4% C 0.133 H 143.6°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #18681C |
|---|---|
| RGB | rgb(24, 104, 28) |
| HSL | hsl(123, 63%, 25%) |
| HSV | hsv(123, 77%, 41%) |
| CMYK | cmyk(76.9%, 0%, 73.1%, 59.2%) |
| CIE-LAB | lab(38.16, -39.63, 34.55) |
| CIE-LCH | lch(38.16, 52.57, 138.92°) |
| OKLab | oklab(45.38% -0.1074 0.0792) |
| OKLCH | oklch(45.38% 0.133 143.6) |
| XYZ | xyz(5.5363, 10.1780, 2.7712) |
| Luminance | 0.1018 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.04
Deep Green
#02590F
ΔE00 4.90
Forest
#0B5509
ΔE00 6.09
Forest Green
#2D5A27
ΔE00 6.41
Darkish Green
#287C37
ΔE00 7.23
Pine
#2B5D34
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18681C #681864
analogous
#3C6818 #18681C #186844
triadic
#18681C #1C1868 #681C18
tetradic
#18681C #183C68 #681864 #684418
square
#18681C #183C68 #681864 #684418
split-complementary
#18681C #441868 #68183C
monochromatic
#061907 #0D360F #18681C #239A29 #2FCB37
Accessibility & contrast
On white
6.92
#18681C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#18681C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #18681C
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18681C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18681C | 1.00 | 6.92 | 3.04 | 6.92 |
| #FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5E11
Deuteranopia (green-blind)
#615723
Tritanopia (blue-blind)
#006559
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #18681c; /* rgb */ color: rgb(24, 104, 28); /* oklch */ color: oklch(45.4% 0.133 143.6);
Tailwind
colors: {
custom: {
50: '#63945d',
500: '#18681c',
950: '#000000',
},
}SCSS
$custom: #18681c; $custom-light: #63945d; $custom-dark: #000000;
JSON
{
"hex": "#18681c",
"rgb": {
"r": 24,
"g": 104,
"b": 28
},
"hsl": {
"h": 123,
"s": 62.5,
"l": 25.098
},
"oklch": {
"l": 0.45384,
"c": 0.13341,
"h": 143.6
},
"luminance": 0.10179
}Semantic roles & 50–950 ramp
primary
#18681C
secondary
#9E3E99
accent
#42DDE6
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79