#18793D#18793D

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

Color values

HEX#18793D
RGBrgb(24, 121, 61)
HSLhsl(143, 67%, 28%)
HSVhsv(143, 80%, 47%)
CMYKcmyk(80.2%, 0%, 49.6%, 52.5%)
CIE-LABlab(44.53, -41.26, 25.27)
CIE-LCHlch(44.53, 48.38, 148.51°)
OKLaboklab(50.79% -0.1108 0.0617)
OKLCHoklch(50.79% 0.127 150.9)
XYZxyz(8.0557, 14.2049, 6.7312)
Luminance0.1421 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18793D #791854
analogous
#237918 #18793D #18796D
triadic
#18793D #3D1879 #793D18
tetradic
#18793D #182379 #791854 #796D18
square
#18793D #182379 #791854 #796D18
split-complementary
#18793D #6D1879 #791823
monochromatic
#051A0D #0E4623 #18793D #22AC57 #35D772

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18793D#FFFFFF#000000##FFFFFF
##18793D1.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)
#7A6E38
Deuteranopia (green-blind)
#6E6641
Tritanopia (blue-blind)
#00776B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #18793d;
/* rgb */ color: rgb(24, 121, 61);
/* oklch */ color: oklch(50.8% 0.127 150.9);
Tailwind
colors: {
  custom: {
    50: '#66a173',
    500: '#18793d',
    950: '#000000',
  },
}
SCSS
$custom: #18793d;
$custom-light: #66a173;
$custom-dark: #000000;
JSON
{
  "hex": "#18793d",
  "rgb": {
    "r": 24,
    "g": 121,
    "b": 61
  },
  "hsl": {
    "h": 142.887,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50788,
    "c": 0.12688,
    "h": 150.9
  },
  "luminance": 0.14206
}

Semantic roles & 50–950 ramp

primary
#18793D
secondary
#AE3F84
accent
#3EA8EA
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #18793D

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

Preview Lab → · Contrast checker → · Palette generator →

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