#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
RGBrgb(24, 149, 31)
HSLhsl(123, 72%, 34%)
HSVhsv(123, 84%, 58%)
CMYKcmyk(83.9%, 0%, 79.2%, 41.6%)
CIE-LABlab(53.80, -54.49, 49.20)
CIE-LCHlch(53.80, 73.41, 137.92°)
OKLaboklab(58.39% -0.1476 0.1102)
OKLCHoklch(58.39% 0.184 143.3)
XYZxyz(11.3707, 21.7866, 4.9020)
Luminance0.2179 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

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
##18951F1.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)
#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

Preview Lab

Preview with #18951F

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

Preview Lab → · Contrast checker → · Palette generator →

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