#18801A#18801A

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

Color values

HEX#18801A
RGBrgb(24, 128, 26)
HSLhsl(121, 68%, 30%)
HSVhsv(121, 81%, 50%)
CMYKcmyk(81.3%, 0%, 79.7%, 49.8%)
CIE-LABlab(46.59, -48.10, 43.88)
CIE-LCHlch(46.59, 65.11, 137.63°)
OKLaboklab(52.38% -0.1305 0.0984)
OKLCHoklch(52.38% 0.163 143)
XYZxyz(8.2818, 15.7061, 3.5722)
Luminance0.1571 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18801A #80187E
analogous
#4A8018 #18801A #18804E
triadic
#18801A #1A1880 #801A18
tetradic
#18801A #184A80 #80187E #804E18
square
#18801A #184A80 #80187E #804E18
split-complementary
#18801A #4E1880 #80184A
monochromatic
#051A05 #0E4C10 #18801A #22B424 #39DA3C

Accessibility & contrast

On white

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

On black

4.14
#18801A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##18801A#FFFFFF#000000##FFFFFF
##18801A1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837301
Deuteranopia (green-blind)
#786B26
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #18801a;
/* rgb */ color: rgb(24, 128, 26);
/* oklch */ color: oklch(52.4% 0.163 143.0);
Tailwind
colors: {
  custom: {
    50: '#6aa65f',
    500: '#18801a',
    950: '#000000',
  },
}
SCSS
$custom: #18801a;
$custom-light: #6aa65f;
$custom-dark: #000000;
JSON
{
  "hex": "#18801a",
  "rgb": {
    "r": 24,
    "g": 128,
    "b": 26
  },
  "hsl": {
    "h": 121.154,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52382,
    "c": 0.16342,
    "h": 143
  },
  "luminance": 0.15707
}

Semantic roles & 50–950 ramp

primary
#18801A
secondary
#B440B2
accent
#3DE8EB
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #18801A

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

Preview Lab → · Contrast checker → · Palette generator →

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