#18791C#18791C

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

Color values

HEX#18791C
RGBrgb(24, 121, 28)
HSLhsl(122, 67%, 28%)
HSVhsv(122, 80%, 47%)
CMYKcmyk(80.2%, 0%, 76.9%, 52.5%)
CIE-LABlab(44.16, -45.60, 40.75)
CIE-LCHlch(44.16, 61.16, 138.22°)
OKLaboklab(50.37% -0.1236 0.0922)
OKLCHoklch(50.37% 0.154 143.3)
XYZxyz(7.4232, 13.9519, 3.4001)
Luminance0.1395 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18791C #791875
analogous
#447918 #18791C #18794C
triadic
#18791C #1C1879 #791C18
tetradic
#18791C #184479 #791875 #794C18
square
#18791C #184479 #791875 #794C18
split-complementary
#18791C #4C1879 #791844
monochromatic
#051A06 #0E4610 #18791C #22AC28 #35D73B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18791C#FFFFFF#000000##FFFFFF
##18791C1.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)
#7C6D0A
Deuteranopia (green-blind)
#716626
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #18791c;
/* rgb */ color: rgb(24, 121, 28);
/* oklch */ color: oklch(50.4% 0.154 143.3);
Tailwind
colors: {
  custom: {
    50: '#68a15f',
    500: '#18791c',
    950: '#000000',
  },
}
SCSS
$custom: #18791c;
$custom-light: #68a15f;
$custom-dark: #000000;
JSON
{
  "hex": "#18791c",
  "rgb": {
    "r": 24,
    "g": 121,
    "b": 28
  },
  "hsl": {
    "h": 122.474,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50371,
    "c": 0.15416,
    "h": 143.3
  },
  "luminance": 0.13953
}

Semantic roles & 50–950 ramp

primary
#18791C
secondary
#AE3FA9
accent
#3EE3EA
background
#F6FAF5
surface
#ECF3EA
border
#C7CDC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #18791C

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

Preview Lab → · Contrast checker → · Palette generator →

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