#18793C#18793C

#18793C is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.8% C 0.128 H 150.5°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#18793C
RGBrgb(24, 121, 60)
HSLhsl(142, 67%, 28%)
HSVhsv(142, 80%, 47%)
CMYKcmyk(80.2%, 0%, 50.4%, 52.5%)
CIE-LABlab(44.51, -41.43, 25.80)
CIE-LCHlch(44.51, 48.81, 148.09°)
OKLaboklab(50.77% -0.1113 0.0629)
OKLCHoklch(50.77% 0.128 150.5)
XYZxyz(8.0290, 14.1942, 6.5907)
Luminance0.1419 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18793C #791855
analogous
#247918 #18793C #18796C
triadic
#18793C #3C1879 #793C18
tetradic
#18793C #182479 #791855 #796C18
square
#18793C #182479 #791855 #796C18
split-complementary
#18793C #6C1879 #791824
monochromatic
#051A0D #0E4623 #18793C #22AC55 #35D771

Accessibility & contrast

On white

5.47
#18793C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#18793C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18793C
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18793C#FFFFFF#000000##FFFFFF
##18793C1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6E37
Deuteranopia (green-blind)
#6F6640
Tritanopia (blue-blind)
#00776B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #18793c;
/* rgb */ color: rgb(24, 121, 60);
/* oklch */ color: oklch(50.8% 0.128 150.5);
Tailwind
colors: {
  custom: {
    50: '#66a173',
    500: '#18793c',
    950: '#000000',
  },
}
SCSS
$custom: #18793c;
$custom-light: #66a173;
$custom-dark: #000000;
JSON
{
  "hex": "#18793c",
  "rgb": {
    "r": 24,
    "g": 121,
    "b": 60
  },
  "hsl": {
    "h": 142.268,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5077,
    "c": 0.12784,
    "h": 150.5
  },
  "luminance": 0.14195
}

Semantic roles & 50–950 ramp

primary
#18793C
secondary
#AE3F85
accent
#3EAAEA
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #18793C

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

Preview Lab → · Contrast checker → · Palette generator →

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