#18801B#18801B

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

Color values

HEX#18801B
RGBrgb(24, 128, 27)
HSLhsl(122, 68%, 30%)
HSVhsv(122, 81%, 50%)
CMYKcmyk(81.3%, 0%, 78.9%, 49.8%)
CIE-LABlab(46.59, -48.03, 43.54)
CIE-LCHlch(46.59, 64.82, 137.81°)
OKLaboklab(52.39% -0.1302 0.0978)
OKLCHoklch(52.39% 0.163 143.1)
XYZxyz(8.2932, 15.7107, 3.6321)
Luminance0.1571 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18801B #80187D
analogous
#498018 #18801B #18804F
triadic
#18801B #1B1880 #801B18
tetradic
#18801B #184980 #80187D #804F18
square
#18801B #184980 #80187D #804F18
split-complementary
#18801B #4F1880 #801849
monochromatic
#051A05 #0E4C10 #18801B #22B426 #39DA3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18801B#FFFFFF#000000##FFFFFF
##18801B1.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)
#837304
Deuteranopia (green-blind)
#786B26
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #18801b;
/* rgb */ color: rgb(24, 128, 27);
/* oklch */ color: oklch(52.4% 0.163 143.1);
Tailwind
colors: {
  custom: {
    50: '#6aa65f',
    500: '#18801b',
    950: '#000000',
  },
}
SCSS
$custom: #18801b;
$custom-light: #6aa65f;
$custom-dark: #000000;
JSON
{
  "hex": "#18801b",
  "rgb": {
    "r": 24,
    "g": 128,
    "b": 27
  },
  "hsl": {
    "h": 121.731,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52389,
    "c": 0.16288,
    "h": 143.1
  },
  "luminance": 0.15712
}

Semantic roles & 50–950 ramp

primary
#18801B
secondary
#B440B1
accent
#3DE6EB
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #18801B

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

Preview Lab → · Contrast checker → · Palette generator →

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