#18801C#18801C

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

Color values

HEX#18801C
RGBrgb(24, 128, 28)
HSLhsl(122, 68%, 30%)
HSVhsv(122, 81%, 50%)
CMYKcmyk(81.3%, 0%, 78.1%, 49.8%)
CIE-LABlab(46.60, -47.95, 43.18)
CIE-LCHlch(46.60, 64.53, 137.99°)
OKLaboklab(52.4% -0.13 0.0972)
OKLCHoklch(52.4% 0.162 143.2)
XYZxyz(8.3049, 15.7154, 3.6941)
Luminance0.1572 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18801C #80187C
analogous
#488018 #18801C #188050
triadic
#18801C #1C1880 #801C18
tetradic
#18801C #184880 #80187C #805018
square
#18801C #184880 #80187C #805018
split-complementary
#18801C #501880 #801848
monochromatic
#051A06 #0E4C11 #18801C #22B427 #39DA3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18801C#FFFFFF#000000##FFFFFF
##18801C1.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)
#837306
Deuteranopia (green-blind)
#786B27
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #18801c;
/* rgb */ color: rgb(24, 128, 28);
/* oklch */ color: oklch(52.4% 0.162 143.2);
Tailwind
colors: {
  custom: {
    50: '#6aa660',
    500: '#18801c',
    950: '#000000',
  },
}
SCSS
$custom: #18801c;
$custom-light: #6aa660;
$custom-dark: #000000;
JSON
{
  "hex": "#18801c",
  "rgb": {
    "r": 24,
    "g": 128,
    "b": 28
  },
  "hsl": {
    "h": 122.308,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52396,
    "c": 0.16231,
    "h": 143.2
  },
  "luminance": 0.15716
}

Semantic roles & 50–950 ramp

primary
#18801C
secondary
#B440B0
accent
#3DE5EB
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #18801C

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

Preview Lab → · Contrast checker → · Palette generator →

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