#18791E#18791E

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

Color values

HEX#18791E
RGBrgb(24, 121, 30)
HSLhsl(124, 67%, 28%)
HSVhsv(124, 80%, 47%)
CMYKcmyk(80.2%, 0%, 75.2%, 52.5%)
CIE-LABlab(44.18, -45.43, 39.98)
CIE-LCHlch(44.18, 60.51, 138.65°)
OKLaboklab(50.39% -0.123 0.0908)
OKLCHoklch(50.39% 0.153 143.6)
XYZxyz(7.4479, 13.9618, 3.5304)
Luminance0.1396 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18791E #791873
analogous
#427918 #18791E #18794E
triadic
#18791E #1E1879 #791E18
tetradic
#18791E #184279 #791873 #794E18
square
#18791E #184279 #791873 #794E18
split-complementary
#18791E #4E1879 #791842
monochromatic
#051A06 #0E4611 #18791E #22AC2B #35D73F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18791E#FFFFFF#000000##FFFFFF
##18791E1.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)
#7C6D0E
Deuteranopia (green-blind)
#716627
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #18791e;
/* rgb */ color: rgb(24, 121, 30);
/* oklch */ color: oklch(50.4% 0.153 143.6);
Tailwind
colors: {
  custom: {
    50: '#68a160',
    500: '#18791e',
    950: '#000000',
  },
}
SCSS
$custom: #18791e;
$custom-light: #68a160;
$custom-dark: #000000;
JSON
{
  "hex": "#18791e",
  "rgb": {
    "r": 24,
    "g": 121,
    "b": 30
  },
  "hsl": {
    "h": 123.711,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50387,
    "c": 0.15291,
    "h": 143.6
  },
  "luminance": 0.13963
}

Semantic roles & 50–950 ramp

primary
#18791E
secondary
#AE3FA7
accent
#3EDFEA
background
#F6FAF5
surface
#ECF3EA
border
#C7CDC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #18791E

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

Preview Lab → · Contrast checker → · Palette generator →

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