#18802B#18802B

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

Color values

HEX#18802B
RGBrgb(24, 128, 43)
HSLhsl(131, 68%, 30%)
HSVhsv(131, 81%, 50%)
CMYKcmyk(81.3%, 0%, 66.4%, 49.8%)
CIE-LABlab(46.72, -46.47, 37.06)
CIE-LCHlch(46.72, 59.44, 141.43°)
OKLaboklab(52.53% -0.1253 0.0863)
OKLCHoklch(52.53% 0.152 145.4)
XYZxyz(8.5313, 15.8059, 4.8863)
Luminance0.1581 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18802B #80186D
analogous
#398018 #18802B #18805F
triadic
#18802B #2B1880 #802B18
tetradic
#18802B #183980 #80186D #805F18
square
#18802B #183980 #80186D #805F18
split-complementary
#18802B #5F1880 #801839
monochromatic
#051A09 #0E4C1A #18802B #22B43C #39DA56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18802B#FFFFFF#000000##FFFFFF
##18802B1.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)
#827421
Deuteranopia (green-blind)
#776C33
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #18802b;
/* rgb */ color: rgb(24, 128, 43);
/* oklch */ color: oklch(52.5% 0.152 145.4);
Tailwind
colors: {
  custom: {
    50: '#69a668',
    500: '#18802b',
    950: '#000000',
  },
}
SCSS
$custom: #18802b;
$custom-light: #69a668;
$custom-dark: #000000;
JSON
{
  "hex": "#18802b",
  "rgb": {
    "r": 24,
    "g": 128,
    "b": 43
  },
  "hsl": {
    "h": 130.962,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52534,
    "c": 0.1521,
    "h": 145.4
  },
  "luminance": 0.15807
}

Semantic roles & 50–950 ramp

primary
#18802B
secondary
#B4409F
accent
#3DCBEB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #18802B

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

Preview Lab → · Contrast checker → · Palette generator →

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