#18791D#18791D

#18791D is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.4% C 0.154 H 143.4°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#18791D
RGBrgb(24, 121, 29)
HSLhsl(123, 67%, 28%)
HSVhsv(123, 80%, 47%)
CMYKcmyk(80.2%, 0%, 76%, 52.5%)
CIE-LABlab(44.17, -45.52, 40.37)
CIE-LCHlch(44.17, 60.84, 138.43°)
OKLaboklab(50.38% -0.1233 0.0915)
OKLCHoklch(50.38% 0.154 143.4)
XYZxyz(7.4353, 13.9568, 3.4642)
Luminance0.1396 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18791D #791874
analogous
#437918 #18791D #18794D
triadic
#18791D #1D1879 #791D18
tetradic
#18791D #184379 #791874 #794D18
square
#18791D #184379 #791874 #794D18
split-complementary
#18791D #4D1879 #791843
monochromatic
#051A06 #0E4611 #18791D #22AC29 #35D73D

Accessibility & contrast

On white

5.54
#18791D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#18791D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18791D
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18791D#FFFFFF#000000##FFFFFF
##18791D1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D0C
Deuteranopia (green-blind)
#716627
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #18791d;
/* rgb */ color: rgb(24, 121, 29);
/* oklch */ color: oklch(50.4% 0.154 143.4);
Tailwind
colors: {
  custom: {
    50: '#68a15f',
    500: '#18791d',
    950: '#000000',
  },
}
SCSS
$custom: #18791d;
$custom-light: #68a15f;
$custom-dark: #000000;
JSON
{
  "hex": "#18791d",
  "rgb": {
    "r": 24,
    "g": 121,
    "b": 29
  },
  "hsl": {
    "h": 123.093,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50379,
    "c": 0.15354,
    "h": 143.4
  },
  "luminance": 0.13958
}

Semantic roles & 50–950 ramp

primary
#18791D
secondary
#AE3FA8
accent
#3EE1EA
background
#F6FAF5
surface
#ECF3EA
border
#C7CDC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #18791D

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

Preview Lab → · Contrast checker → · Palette generator →

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