#18951C#18951C

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

Color values

HEX#18951C
RGBrgb(24, 149, 28)
HSLhsl(122, 72%, 34%)
HSVhsv(122, 84%, 58%)
CMYKcmyk(83.9%, 0%, 81.2%, 41.6%)
CIE-LABlab(53.78, -54.70, 50.14)
CIE-LCHlch(53.78, 74.20, 137.49°)
OKLaboklab(58.38% -0.1483 0.1117)
OKLCHoklch(58.38% 0.186 143)
XYZxyz(11.3330, 21.7715, 4.7034)
Luminance0.2177 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18951C #951891
analogous
#539518 #18951C #18955B
triadic
#18951C #1C1895 #951C18
tetradic
#18951C #185395 #951891 #955B18
square
#18951C #185395 #951891 #955B18
split-complementary
#18951C #5B1895 #951853
monochromatic
#072C08 #106012 #18951C #20CA26 #46E14B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18951C#FFFFFF#000000##000000
##18951C1.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)
#8B7D2B
Tritanopia (blue-blind)
#00907F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #18951c;
/* rgb */ color: rgb(24, 149, 28);
/* oklch */ color: oklch(58.4% 0.186 143.0);
Tailwind
colors: {
  custom: {
    50: '#6fb563',
    500: '#18951c',
    950: '#000000',
  },
}
SCSS
$custom: #18951c;
$custom-light: #6fb563;
$custom-dark: #000000;
JSON
{
  "hex": "#18951c",
  "rgb": {
    "r": 24,
    "g": 149,
    "b": 28
  },
  "hsl": {
    "h": 121.92,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58375,
    "c": 0.18567,
    "h": 143
  },
  "luminance": 0.21773
}

Semantic roles & 50–950 ramp

primary
#18951C
secondary
#C246BE
accent
#39E9EF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #18951C

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

Preview Lab → · Contrast checker → · Palette generator →

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