#18812A#18812A

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

Color values

HEX#18812A
RGBrgb(24, 129, 42)
HSLhsl(130, 69%, 30%)
HSVhsv(130, 81%, 51%)
CMYKcmyk(81.4%, 0%, 67.4%, 49.4%)
CIE-LABlab(47.05, -46.93, 37.89)
CIE-LCHlch(47.05, 60.32, 141.08°)
OKLaboklab(52.81% -0.1266 0.0879)
OKLCHoklch(52.81% 0.154 145.2)
XYZxyz(8.6442, 16.0608, 4.8345)
Luminance0.1606 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18812A #81186F
analogous
#3A8118 #18812A #18815F
triadic
#18812A #2A1881 #812A18
tetradic
#18812A #183A81 #81186F #815F18
square
#18812A #183A81 #81186F #815F18
split-complementary
#18812A #5F1881 #81183A
monochromatic
#051A08 #0E4D19 #18812A #22B53B #39DA55

Accessibility & contrast

On white

4.99
#18812A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#18812A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18812A
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18812A#FFFFFF#000000##FFFFFF
##18812A1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83741F
Deuteranopia (green-blind)
#786C32
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #18812a;
/* rgb */ color: rgb(24, 129, 42);
/* oklch */ color: oklch(52.8% 0.154 145.2);
Tailwind
colors: {
  custom: {
    50: '#69a768',
    500: '#18812a',
    950: '#000000',
  },
}
SCSS
$custom: #18812a;
$custom-light: #69a768;
$custom-dark: #000000;
JSON
{
  "hex": "#18812a",
  "rgb": {
    "r": 24,
    "g": 129,
    "b": 42
  },
  "hsl": {
    "h": 130.286,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.5281,
    "c": 0.1541,
    "h": 145.2
  },
  "luminance": 0.16062
}

Semantic roles & 50–950 ramp

primary
#18812A
secondary
#B540A1
accent
#3CCDEB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #18812A

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

Preview Lab → · Contrast checker → · Palette generator →

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