#18812E#18812E

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

Color values

HEX#18812E
RGBrgb(24, 129, 46)
HSLhsl(133, 69%, 30%)
HSVhsv(133, 81%, 51%)
CMYKcmyk(81.4%, 0%, 64.3%, 49.4%)
CIE-LABlab(47.09, -46.45, 36.08)
CIE-LCHlch(47.09, 58.82, 142.16°)
OKLaboklab(52.86% -0.1251 0.0845)
OKLCHoklch(52.86% 0.151 146)
XYZxyz(8.7194, 16.0909, 5.2306)
Luminance0.1609 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18812E #81186B
analogous
#378118 #18812E #188162
triadic
#18812E #2E1881 #812E18
tetradic
#18812E #183781 #81186B #816218
square
#18812E #183781 #81186B #816218
split-complementary
#18812E #621881 #811837
monochromatic
#051A09 #0E4D1C #18812E #22B540 #39DA5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18812E#FFFFFF#000000##FFFFFF
##18812E1.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)
#837525
Deuteranopia (green-blind)
#776D35
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #18812e;
/* rgb */ color: rgb(24, 129, 46);
/* oklch */ color: oklch(52.9% 0.151 146.0);
Tailwind
colors: {
  custom: {
    50: '#69a76a',
    500: '#18812e',
    950: '#000000',
  },
}
SCSS
$custom: #18812e;
$custom-light: #69a76a;
$custom-dark: #000000;
JSON
{
  "hex": "#18812e",
  "rgb": {
    "r": 24,
    "g": 129,
    "b": 46
  },
  "hsl": {
    "h": 132.571,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.52855,
    "c": 0.15095,
    "h": 146
  },
  "luminance": 0.16092
}

Semantic roles & 50–950 ramp

primary
#18812E
secondary
#B5409D
accent
#3CC7EB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #18812E

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

Preview Lab → · Contrast checker → · Palette generator →

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