#18951B#18951B

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

Color values

HEX#18951B
RGBrgb(24, 149, 27)
HSLhsl(121, 72%, 34%)
HSVhsv(121, 84%, 58%)
CMYKcmyk(83.9%, 0%, 81.9%, 41.6%)
CIE-LABlab(53.78, -54.76, 50.44)
CIE-LCHlch(53.78, 74.45, 137.35°)
OKLaboklab(58.37% -0.1485 0.1122)
OKLCHoklch(58.37% 0.186 142.9)
XYZxyz(11.3212, 21.7668, 4.6414)
Luminance0.2177 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18951B #951892
analogous
#549518 #18951B #18955A
triadic
#18951B #1B1895 #951B18
tetradic
#18951B #185495 #951892 #955A18
square
#18951B #185495 #951892 #955A18
split-complementary
#18951B #5A1895 #951854
monochromatic
#072C08 #106011 #18951B #20CA25 #46E14A

Accessibility & contrast

On white

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

On black

5.35
#18951B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #18951B
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18951B#FFFFFF#000000##000000
##18951B1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18951b;
/* rgb */ color: rgb(24, 149, 27);
/* oklch */ color: oklch(58.4% 0.186 142.9);
Tailwind
colors: {
  custom: {
    50: '#6fb563',
    500: '#18951b',
    950: '#000000',
  },
}
SCSS
$custom: #18951b;
$custom-light: #6fb563;
$custom-dark: #000000;
JSON
{
  "hex": "#18951b",
  "rgb": {
    "r": 24,
    "g": 149,
    "b": 27
  },
  "hsl": {
    "h": 121.44,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.5837,
    "c": 0.18613,
    "h": 142.9
  },
  "luminance": 0.21768
}

Semantic roles & 50–950 ramp

primary
#18951B
secondary
#C246BF
accent
#39EBEF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #18951B

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

Preview Lab → · Contrast checker → · Palette generator →

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