#18801E#18801E

#18801E is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.4% C 0.161 H 143.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#18801E
RGBrgb(24, 128, 30)
HSLhsl(123, 68%, 30%)
HSVhsv(123, 81%, 50%)
CMYKcmyk(81.3%, 0%, 76.6%, 49.8%)
CIE-LABlab(46.61, -47.79, 42.45)
CIE-LCHlch(46.61, 63.92, 138.38°)
OKLaboklab(52.41% -0.1294 0.096)
OKLCHoklch(52.41% 0.161 143.4)
XYZxyz(8.3297, 15.7253, 3.8243)
Luminance0.1573 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18801E #80187A
analogous
#468018 #18801E #188052
triadic
#18801E #1E1880 #801E18
tetradic
#18801E #184680 #80187A #805218
square
#18801E #184680 #80187A #805218
split-complementary
#18801E #521880 #801846
monochromatic
#051A06 #0E4C12 #18801E #22B42A #39DA42

Accessibility & contrast

On white

5.07
#18801E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#18801E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18801E
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18801E#FFFFFF#000000##FFFFFF
##18801E1.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83730B
Deuteranopia (green-blind)
#786B29
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #18801e;
/* rgb */ color: rgb(24, 128, 30);
/* oklch */ color: oklch(52.4% 0.161 143.4);
Tailwind
colors: {
  custom: {
    50: '#6aa661',
    500: '#18801e',
    950: '#000000',
  },
}
SCSS
$custom: #18801e;
$custom-light: #6aa661;
$custom-dark: #000000;
JSON
{
  "hex": "#18801e",
  "rgb": {
    "r": 24,
    "g": 128,
    "b": 30
  },
  "hsl": {
    "h": 123.462,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52411,
    "c": 0.16113,
    "h": 143.4
  },
  "luminance": 0.15726
}

Semantic roles & 50–950 ramp

primary
#18801E
secondary
#B440AE
accent
#3DE1EB
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #18801E

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

Preview Lab → · Contrast checker → · Palette generator →

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