#18802E#18802E

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

Color values

HEX#18802E
RGBrgb(24, 128, 46)
HSLhsl(133, 68%, 30%)
HSVhsv(133, 81%, 50%)
CMYKcmyk(81.3%, 0%, 64.1%, 49.8%)
CIE-LABlab(46.75, -46.10, 35.69)
CIE-LCHlch(46.75, 58.30, 142.26°)
OKLaboklab(52.57% -0.1241 0.0836)
OKLCHoklch(52.57% 0.15 146)
XYZxyz(8.5884, 15.8288, 5.1869)
Luminance0.1583 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18802E #80186A
analogous
#368018 #18802E #188062
triadic
#18802E #2E1880 #802E18
tetradic
#18802E #183680 #80186A #806218
square
#18802E #183680 #80186A #806218
split-complementary
#18802E #621880 #801836
monochromatic
#051A09 #0E4C1B #18802E #22B441 #39DA5B

Accessibility & contrast

On white

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

On black

4.17
#18802E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##18802E#FFFFFF#000000##FFFFFF
##18802E1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827425
Deuteranopia (green-blind)
#776C35
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #18802e;
/* rgb */ color: rgb(24, 128, 46);
/* oklch */ color: oklch(52.6% 0.150 146.0);
Tailwind
colors: {
  custom: {
    50: '#69a66a',
    500: '#18802e',
    950: '#000000',
  },
}
SCSS
$custom: #18802e;
$custom-light: #69a66a;
$custom-dark: #000000;
JSON
{
  "hex": "#18802e",
  "rgb": {
    "r": 24,
    "g": 128,
    "b": 46
  },
  "hsl": {
    "h": 132.692,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52569,
    "c": 0.1497,
    "h": 146
  },
  "luminance": 0.1583
}

Semantic roles & 50–950 ramp

primary
#18802E
secondary
#B4409C
accent
#3DC6EB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #18802E

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

Preview Lab → · Contrast checker → · Palette generator →

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