#18801D#18801D

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

Color values

HEX#18801D
RGBrgb(24, 128, 29)
HSLhsl(123, 68%, 30%)
HSVhsv(123, 81%, 50%)
CMYKcmyk(81.3%, 0%, 77.3%, 49.8%)
CIE-LABlab(46.61, -47.87, 42.82)
CIE-LCHlch(46.61, 64.23, 138.19°)
OKLaboklab(52.4% -0.1297 0.0966)
OKLCHoklch(52.4% 0.162 143.3)
XYZxyz(8.3171, 15.7202, 3.7581)
Luminance0.1572 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18801D #80187B
analogous
#478018 #18801D #188051
triadic
#18801D #1D1880 #801D18
tetradic
#18801D #184780 #80187B #805118
square
#18801D #184780 #80187B #805118
split-complementary
#18801D #511880 #801847
monochromatic
#051A06 #0E4C11 #18801D #22B429 #39DA40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18801D#FFFFFF#000000##FFFFFF
##18801D1.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)
#837308
Deuteranopia (green-blind)
#786B28
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #18801d;
/* rgb */ color: rgb(24, 128, 29);
/* oklch */ color: oklch(52.4% 0.162 143.3);
Tailwind
colors: {
  custom: {
    50: '#6aa660',
    500: '#18801d',
    950: '#000000',
  },
}
SCSS
$custom: #18801d;
$custom-light: #6aa660;
$custom-dark: #000000;
JSON
{
  "hex": "#18801d",
  "rgb": {
    "r": 24,
    "g": 128,
    "b": 29
  },
  "hsl": {
    "h": 122.885,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52403,
    "c": 0.16173,
    "h": 143.3
  },
  "luminance": 0.15721
}

Semantic roles & 50–950 ramp

primary
#18801D
secondary
#B440AF
accent
#3DE3EB
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #18801D

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

Preview Lab → · Contrast checker → · Palette generator →

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