#18951D#18951D

#18951D is a mid, vivid green. Relative luminance 0.218; OKLCH L 58.4% C 0.185 H 143.1°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#18951D
RGBrgb(24, 149, 29)
HSLhsl(122, 72%, 34%)
HSVhsv(122, 84%, 58%)
CMYKcmyk(83.9%, 0%, 80.5%, 41.6%)
CIE-LABlab(53.79, -54.63, 49.83)
CIE-LCHlch(53.79, 73.94, 137.63°)
OKLaboklab(58.38% -0.1481 0.1112)
OKLCHoklch(58.38% 0.185 143.1)
XYZxyz(11.3452, 21.7764, 4.7675)
Luminance0.2178 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18951D #951890
analogous
#529518 #18951D #18955C
triadic
#18951D #1D1895 #951D18
tetradic
#18951D #185295 #951890 #955C18
square
#18951D #185295 #951890 #955C18
split-complementary
#18951D #5C1895 #951852
monochromatic
#072C08 #106013 #18951D #20CA27 #46E14C

Accessibility & contrast

On white

3.92
#18951D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#18951D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #18951D
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18951D#FFFFFF#000000##000000
##18951D1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#8B7D2C
Tritanopia (blue-blind)
#00907F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #18951d;
/* rgb */ color: rgb(24, 149, 29);
/* oklch */ color: oklch(58.4% 0.185 143.1);
Tailwind
colors: {
  custom: {
    50: '#6fb563',
    500: '#18951d',
    950: '#000000',
  },
}
SCSS
$custom: #18951d;
$custom-light: #6fb563;
$custom-dark: #000000;
JSON
{
  "hex": "#18951d",
  "rgb": {
    "r": 24,
    "g": 149,
    "b": 29
  },
  "hsl": {
    "h": 122.4,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58381,
    "c": 0.18519,
    "h": 143.1
  },
  "luminance": 0.21778
}

Semantic roles & 50–950 ramp

primary
#18951D
secondary
#C246BD
accent
#39E8EF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #18951D

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#18951D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva