#18812D#18812D

#18812D is a mid, vivid green. Relative luminance 0.161; OKLCH L 52.8% C 0.152 H 145.8°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#18812D
RGBrgb(24, 129, 45)
HSLhsl(132, 69%, 30%)
HSVhsv(132, 81%, 51%)
CMYKcmyk(81.4%, 0%, 65.1%, 49.4%)
CIE-LABlab(47.08, -46.58, 36.54)
CIE-LCHlch(47.08, 59.20, 141.89°)
OKLaboklab(52.84% -0.1255 0.0854)
OKLCHoklch(52.84% 0.152 145.8)
XYZxyz(8.7000, 16.0831, 5.1280)
Luminance0.1608 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18812D #81186C
analogous
#388118 #18812D #188161
triadic
#18812D #2D1881 #812D18
tetradic
#18812D #183881 #81186C #816118
square
#18812D #183881 #81186C #816118
split-complementary
#18812D #611881 #811838
monochromatic
#051A09 #0E4D1B #18812D #22B53F #39DA59

Accessibility & contrast

On white

4.98
#18812D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#18812D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18812D
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18812D#FFFFFF#000000##FFFFFF
##18812D1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837423
Deuteranopia (green-blind)
#786C34
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #18812d;
/* rgb */ color: rgb(24, 129, 45);
/* oklch */ color: oklch(52.8% 0.152 145.8);
Tailwind
colors: {
  custom: {
    50: '#69a769',
    500: '#18812d',
    950: '#000000',
  },
}
SCSS
$custom: #18812d;
$custom-light: #69a769;
$custom-dark: #000000;
JSON
{
  "hex": "#18812d",
  "rgb": {
    "r": 24,
    "g": 129,
    "b": 45
  },
  "hsl": {
    "h": 132,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.52843,
    "c": 0.15175,
    "h": 145.8
  },
  "luminance": 0.16084
}

Semantic roles & 50–950 ramp

primary
#18812D
secondary
#B5409E
accent
#3CC8EB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #18812D

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

Preview Lab → · Contrast checker → · Palette generator →

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