#18803B#18803B

#18803B is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.7% C 0.138 H 149.2°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#18803B
RGBrgb(24, 128, 59)
HSLhsl(140, 68%, 30%)
HSVhsv(140, 81%, 50%)
CMYKcmyk(81.3%, 0%, 53.9%, 49.8%)
CIE-LABlab(46.91, -44.23, 29.32)
CIE-LCHlch(46.91, 53.06, 146.46°)
OKLaboklab(52.75% -0.1188 0.0707)
OKLCHoklch(52.75% 0.138 149.2)
XYZxyz(8.8845, 15.9472, 6.7467)
Luminance0.1595 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18803B #80185D
analogous
#298018 #18803B #18806F
triadic
#18803B #3B1880 #803B18
tetradic
#18803B #182980 #80185D #806F18
square
#18803B #182980 #80185D #806F18
split-complementary
#18803B #6F1880 #801829
monochromatic
#051A0C #0E4C23 #18803B #22B453 #39DA6F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18803B#FFFFFF#000000##FFFFFF
##18803B1.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)
#817435
Deuteranopia (green-blind)
#756C40
Tritanopia (blue-blind)
#007D70
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #18803b;
/* rgb */ color: rgb(24, 128, 59);
/* oklch */ color: oklch(52.7% 0.138 149.2);
Tailwind
colors: {
  custom: {
    50: '#68a672',
    500: '#18803b',
    950: '#000000',
  },
}
SCSS
$custom: #18803b;
$custom-light: #68a672;
$custom-dark: #000000;
JSON
{
  "hex": "#18803b",
  "rgb": {
    "r": 24,
    "g": 128,
    "b": 59
  },
  "hsl": {
    "h": 140.192,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52749,
    "c": 0.13824,
    "h": 149.2
  },
  "luminance": 0.15948
}

Semantic roles & 50–950 ramp

primary
#18803B
secondary
#B4408D
accent
#3DB0EB
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #18803B

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

Preview Lab → · Contrast checker → · Palette generator →

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