#18802C#18802C

#18802C is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.5% C 0.151 H 145.6°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#18802C
RGBrgb(24, 128, 44)
HSLhsl(132, 68%, 30%)
HSVhsv(132, 81%, 50%)
CMYKcmyk(81.3%, 0%, 65.6%, 49.8%)
CIE-LABlab(46.73, -46.35, 36.61)
CIE-LCHlch(46.73, 59.06, 141.70°)
OKLaboklab(52.54% -0.1249 0.0854)
OKLCHoklch(52.54% 0.151 145.6)
XYZxyz(8.5499, 15.8134, 4.9841)
Luminance0.1581 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18802C #80186C
analogous
#388018 #18802C #188060
triadic
#18802C #2C1880 #802C18
tetradic
#18802C #183880 #80186C #806018
square
#18802C #183880 #80186C #806018
split-complementary
#18802C #601880 #801838
monochromatic
#051A09 #0E4C1A #18802C #22B43E #39DA58

Accessibility & contrast

On white

5.04
#18802C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#18802C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18802C
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18802C#FFFFFF#000000##FFFFFF
##18802C1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827422
Deuteranopia (green-blind)
#776C33
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #18802c;
/* rgb */ color: rgb(24, 128, 44);
/* oklch */ color: oklch(52.5% 0.151 145.6);
Tailwind
colors: {
  custom: {
    50: '#69a669',
    500: '#18802c',
    950: '#000000',
  },
}
SCSS
$custom: #18802c;
$custom-light: #69a669;
$custom-dark: #000000;
JSON
{
  "hex": "#18802c",
  "rgb": {
    "r": 24,
    "g": 128,
    "b": 44
  },
  "hsl": {
    "h": 131.538,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52545,
    "c": 0.15131,
    "h": 145.6
  },
  "luminance": 0.15814
}

Semantic roles & 50–950 ramp

primary
#18802C
secondary
#B4409E
accent
#3DCAEB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #18802C

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

Preview Lab → · Contrast checker → · Palette generator →

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