#18812B#18812B

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

Color values

HEX#18812B
RGBrgb(24, 129, 43)
HSLhsl(131, 69%, 30%)
HSVhsv(131, 81%, 51%)
CMYKcmyk(81.4%, 0%, 66.7%, 49.4%)
CIE-LABlab(47.06, -46.82, 37.45)
CIE-LCHlch(47.06, 59.95, 141.34°)
OKLaboklab(52.82% -0.1262 0.0871)
OKLCHoklch(52.82% 0.153 145.4)
XYZxyz(8.6624, 16.0681, 4.9299)
Luminance0.1607 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18812B #81186E
analogous
#3A8118 #18812B #18815F
triadic
#18812B #2B1881 #812B18
tetradic
#18812B #183A81 #81186E #815F18
square
#18812B #183A81 #81186E #815F18
split-complementary
#18812B #5F1881 #81183A
monochromatic
#051A09 #0E4D1A #18812B #22B53C #39DA56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18812B#FFFFFF#000000##FFFFFF
##18812B1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18812b;
/* rgb */ color: rgb(24, 129, 43);
/* oklch */ color: oklch(52.8% 0.153 145.4);
Tailwind
colors: {
  custom: {
    50: '#69a768',
    500: '#18812b',
    950: '#000000',
  },
}
SCSS
$custom: #18812b;
$custom-light: #69a768;
$custom-dark: #000000;
JSON
{
  "hex": "#18812b",
  "rgb": {
    "r": 24,
    "g": 129,
    "b": 43
  },
  "hsl": {
    "h": 130.857,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.5282,
    "c": 0.15334,
    "h": 145.4
  },
  "luminance": 0.16069
}

Semantic roles & 50–950 ramp

primary
#18812B
secondary
#B540A0
accent
#3CCCEB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #18812B

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

Preview Lab → · Contrast checker → · Palette generator →

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