#18811D#18811D

#18811D is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.7% C 0.163 H 143.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#18811D
RGBrgb(24, 129, 29)
HSLhsl(123, 69%, 30%)
HSVhsv(123, 81%, 51%)
CMYKcmyk(81.4%, 0%, 77.5%, 49.4%)
CIE-LABlab(46.95, -48.20, 43.17)
CIE-LCHlch(46.95, 64.71, 138.15°)
OKLaboklab(52.69% -0.1306 0.0973)
OKLCHoklch(52.69% 0.163 143.3)
XYZxyz(8.4482, 15.9824, 3.8018)
Luminance0.1598 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18811D #81187C
analogous
#488118 #18811D #188151
triadic
#18811D #1D1881 #811D18
tetradic
#18811D #184881 #81187C #815118
square
#18811D #184881 #81187C #815118
split-complementary
#18811D #511881 #811848
monochromatic
#051A06 #0E4D11 #18811D #22B529 #39DA41

Accessibility & contrast

On white

5.00
#18811D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#18811D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18811D
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18811D#FFFFFF#000000##FFFFFF
##18811D1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847408
Deuteranopia (green-blind)
#786C28
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #18811d;
/* rgb */ color: rgb(24, 129, 29);
/* oklch */ color: oklch(52.7% 0.163 143.3);
Tailwind
colors: {
  custom: {
    50: '#6aa760',
    500: '#18811d',
    950: '#000000',
  },
}
SCSS
$custom: #18811d;
$custom-light: #6aa760;
$custom-dark: #000000;
JSON
{
  "hex": "#18811d",
  "rgb": {
    "r": 24,
    "g": 129,
    "b": 29
  },
  "hsl": {
    "h": 122.857,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.52691,
    "c": 0.16288,
    "h": 143.3
  },
  "luminance": 0.15983
}

Semantic roles & 50–950 ramp

primary
#18811D
secondary
#B540B0
accent
#3CE3EB
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #18811D

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

Preview Lab → · Contrast checker → · Palette generator →

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