#18803C#18803C

#18803C is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.8% C 0.137 H 149.5°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#18803C
RGBrgb(24, 128, 60)
HSLhsl(141, 68%, 30%)
HSVhsv(141, 81%, 50%)
CMYKcmyk(81.3%, 0%, 53.1%, 49.8%)
CIE-LABlab(46.92, -44.06, 28.80)
CIE-LCHlch(46.92, 52.64, 146.83°)
OKLaboklab(52.76% -0.1183 0.0697)
OKLCHoklch(52.76% 0.137 149.5)
XYZxyz(8.9107, 15.9577, 6.8846)
Luminance0.1596 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18803C #80185C
analogous
#288018 #18803C #188070
triadic
#18803C #3C1880 #803C18
tetradic
#18803C #182880 #80185C #807018
square
#18803C #182880 #80185C #807018
split-complementary
#18803C #701880 #801828
monochromatic
#051A0C #0E4C24 #18803C #22B454 #39DA70

Accessibility & contrast

On white

5.01
#18803C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#18803C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18803C
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18803C#FFFFFF#000000##FFFFFF
##18803C1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817436
Deuteranopia (green-blind)
#756C41
Tritanopia (blue-blind)
#007E70
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #18803c;
/* rgb */ color: rgb(24, 128, 60);
/* oklch */ color: oklch(52.8% 0.137 149.5);
Tailwind
colors: {
  custom: {
    50: '#68a673',
    500: '#18803c',
    950: '#000000',
  },
}
SCSS
$custom: #18803c;
$custom-light: #68a673;
$custom-dark: #000000;
JSON
{
  "hex": "#18803c",
  "rgb": {
    "r": 24,
    "g": 128,
    "b": 60
  },
  "hsl": {
    "h": 140.769,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52765,
    "c": 0.13731,
    "h": 149.5
  },
  "luminance": 0.15959
}

Semantic roles & 50–950 ramp

primary
#18803C
secondary
#B4408C
accent
#3DAFEB
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #18803C

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

Preview Lab → · Contrast checker → · Palette generator →

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