#18802A#18802A

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

Color values

HEX#18802A
RGBrgb(24, 128, 42)
HSLhsl(130, 68%, 30%)
HSVhsv(130, 81%, 50%)
CMYKcmyk(81.3%, 0%, 67.2%, 49.8%)
CIE-LABlab(46.71, -46.59, 37.51)
CIE-LCHlch(46.71, 59.81, 141.16°)
OKLaboklab(52.52% -0.1256 0.0871)
OKLCHoklch(52.52% 0.153 145.3)
XYZxyz(8.5132, 15.7987, 4.7908)
Luminance0.1580 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18802A #80186E
analogous
#3A8018 #18802A #18805E
triadic
#18802A #2A1880 #802A18
tetradic
#18802A #183A80 #80186E #805E18
square
#18802A #183A80 #80186E #805E18
split-complementary
#18802A #5E1880 #80183A
monochromatic
#051A08 #0E4C19 #18802A #22B43B #39DA55

Accessibility & contrast

On white

5.05
#18802A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #18802A
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18802A#FFFFFF#000000##FFFFFF
##18802A1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82741F
Deuteranopia (green-blind)
#776C32
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #18802a;
/* rgb */ color: rgb(24, 128, 42);
/* oklch */ color: oklch(52.5% 0.153 145.3);
Tailwind
colors: {
  custom: {
    50: '#69a667',
    500: '#18802a',
    950: '#000000',
  },
}
SCSS
$custom: #18802a;
$custom-light: #69a667;
$custom-dark: #000000;
JSON
{
  "hex": "#18802a",
  "rgb": {
    "r": 24,
    "g": 128,
    "b": 42
  },
  "hsl": {
    "h": 130.385,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52523,
    "c": 0.15288,
    "h": 145.3
  },
  "luminance": 0.158
}

Semantic roles & 50–950 ramp

primary
#18802A
secondary
#B440A0
accent
#3DCDEB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #18802A

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

Preview Lab → · Contrast checker → · Palette generator →

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