#18791A#18791A

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

Color values

HEX#18791A
RGBrgb(24, 121, 26)
HSLhsl(121, 67%, 28%)
HSVhsv(121, 80%, 47%)
CMYKcmyk(80.2%, 0%, 78.5%, 52.5%)
CIE-LABlab(44.15, -45.77, 41.49)
CIE-LCHlch(44.15, 61.77, 137.81°)
OKLaboklab(50.36% -0.1241 0.0934)
OKLCHoklch(50.36% 0.155 143)
XYZxyz(7.4000, 13.9426, 3.2783)
Luminance0.1394 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18791A #791877
analogous
#467918 #18791A #18794A
triadic
#18791A #1A1879 #791A18
tetradic
#18791A #184679 #791877 #794A18
square
#18791A #184679 #791877 #794A18
split-complementary
#18791A #4A1879 #791846
monochromatic
#051A05 #0E460F #18791A #22AC25 #35D738

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18791A#FFFFFF#000000##FFFFFF
##18791A1.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)
#7C6D05
Deuteranopia (green-blind)
#716625
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #18791a;
/* rgb */ color: rgb(24, 121, 26);
/* oklch */ color: oklch(50.4% 0.155 143.0);
Tailwind
colors: {
  custom: {
    50: '#68a15e',
    500: '#18791a',
    950: '#000000',
  },
}
SCSS
$custom: #18791a;
$custom-light: #68a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#18791a",
  "rgb": {
    "r": 24,
    "g": 121,
    "b": 26
  },
  "hsl": {
    "h": 121.237,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50356,
    "c": 0.15534,
    "h": 143
  },
  "luminance": 0.13944
}

Semantic roles & 50–950 ramp

primary
#18791A
secondary
#AE3FAC
accent
#3EE6EA
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #18791A

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

Preview Lab → · Contrast checker → · Palette generator →

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