#18791F#18791F

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

Color values

HEX#18791F
RGBrgb(24, 121, 31)
HSLhsl(124, 67%, 28%)
HSVhsv(124, 80%, 47%)
CMYKcmyk(80.2%, 0%, 74.4%, 52.5%)
CIE-LABlab(44.19, -45.33, 39.58)
CIE-LCHlch(44.19, 60.18, 138.87°)
OKLaboklab(50.4% -0.1227 0.0901)
OKLCHoklch(50.4% 0.152 143.7)
XYZxyz(7.4609, 13.9670, 3.5987)
Luminance0.1397 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18791F #791872
analogous
#417918 #18791F #18794F
triadic
#18791F #1F1879 #791F18
tetradic
#18791F #184179 #791872 #794F18
square
#18791F #184179 #791872 #794F18
split-complementary
#18791F #4F1879 #791841
monochromatic
#051A07 #0E4612 #18791F #22AC2C #35D740

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18791F#FFFFFF#000000##FFFFFF
##18791F1.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)
#7C6D10
Deuteranopia (green-blind)
#716628
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #18791f;
/* rgb */ color: rgb(24, 121, 31);
/* oklch */ color: oklch(50.4% 0.152 143.7);
Tailwind
colors: {
  custom: {
    50: '#68a160',
    500: '#18791f',
    950: '#000000',
  },
}
SCSS
$custom: #18791f;
$custom-light: #68a160;
$custom-dark: #000000;
JSON
{
  "hex": "#18791f",
  "rgb": {
    "r": 24,
    "g": 121,
    "b": 31
  },
  "hsl": {
    "h": 124.33,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50396,
    "c": 0.15226,
    "h": 143.7
  },
  "luminance": 0.13968
}

Semantic roles & 50–950 ramp

primary
#18791F
secondary
#AE3FA6
accent
#3EDDEA
background
#F6FAF5
surface
#ECF3EA
border
#C7CDC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #18791F

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

Preview Lab → · Contrast checker → · Palette generator →

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