#18951F#18951F
#18951F is a mid, vivid green. Relative luminance 0.218; OKLCH L 58.4% C 0.184 H 143.3°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #18951F |
|---|---|
| RGB | rgb(24, 149, 31) |
| HSL | hsl(123, 72%, 34%) |
| HSV | hsv(123, 84%, 58%) |
| CMYK | cmyk(83.9%, 0%, 79.2%, 41.6%) |
| CIE-LAB | lab(53.80, -54.49, 49.20) |
| CIE-LCH | lch(53.80, 73.41, 137.92°) |
| OKLab | oklab(58.39% -0.1476 0.1102) |
| OKLCH | oklch(58.39% 0.184 143.3) |
| XYZ | xyz(11.3707, 21.7866, 4.9020) |
| Luminance | 0.2179 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Irish Green
#019529
ΔE00 1.49
True Green
#089404
ΔE00 1.70
Emerald Green
#028F1E
ΔE00 2.29
Forestgreen (CSS)
#228B22
ΔE00 3.52
Kelley Green
#009337
ΔE00 3.63
Grass Green
#3F9B0B
ΔE00 4.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18951F #95188E
analogous
#509518 #18951F #18955E
triadic
#18951F #1F1895 #951F18
tetradic
#18951F #185095 #95188E #955E18
square
#18951F #185095 #95188E #955E18
split-complementary
#18951F #5E1895 #951850
monochromatic
#072C09 #106014 #18951F #20CA2A #46E14F
Accessibility & contrast
On white
3.92
#18951F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.36
#18951F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #18951F
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18951F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##18951F | 1.00 | 3.92 | 5.36 | 5.36 |
| #FFFFFF | 3.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#8B7D2D
Tritanopia (blue-blind)
#00917F
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #18951f; /* rgb */ color: rgb(24, 149, 31); /* oklch */ color: oklch(58.4% 0.184 143.3);
Tailwind
colors: {
custom: {
50: '#6fb564',
500: '#18951f',
950: '#000000',
},
}SCSS
$custom: #18951f; $custom-light: #6fb564; $custom-dark: #000000;
JSON
{
"hex": "#18951f",
"rgb": {
"r": 24,
"g": 149,
"b": 31
},
"hsl": {
"h": 123.36,
"s": 72.254,
"l": 33.922
},
"oklch": {
"l": 0.58394,
"c": 0.1842,
"h": 143.3
},
"luminance": 0.21788
}Semantic roles & 50–950 ramp
primary
#18951F
secondary
#C246BB
accent
#39E5EF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A