#18812C#18812C

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

Color values

HEX#18812C
RGBrgb(24, 129, 44)
HSLhsl(131, 69%, 30%)
HSVhsv(131, 81%, 51%)
CMYKcmyk(81.4%, 0%, 65.9%, 49.4%)
CIE-LABlab(47.07, -46.70, 36.99)
CIE-LCHlch(47.07, 59.58, 141.61°)
OKLaboklab(52.83% -0.1258 0.0862)
OKLCHoklch(52.83% 0.153 145.6)
XYZxyz(8.6809, 16.0755, 5.0278)
Luminance0.1608 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18812C #81186D
analogous
#388118 #18812C #188161
triadic
#18812C #2C1881 #812C18
tetradic
#18812C #183881 #81186D #816118
square
#18812C #183881 #81186D #816118
split-complementary
#18812C #611881 #811838
monochromatic
#051A09 #0E4D1A #18812C #22B53E #39DA58

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18812C#FFFFFF#000000##FFFFFF
##18812C1.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)
#837422
Deuteranopia (green-blind)
#786C34
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #18812c;
/* rgb */ color: rgb(24, 129, 44);
/* oklch */ color: oklch(52.8% 0.153 145.6);
Tailwind
colors: {
  custom: {
    50: '#69a769',
    500: '#18812c',
    950: '#000000',
  },
}
SCSS
$custom: #18812c;
$custom-light: #69a769;
$custom-dark: #000000;
JSON
{
  "hex": "#18812c",
  "rgb": {
    "r": 24,
    "g": 129,
    "b": 44
  },
  "hsl": {
    "h": 131.429,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.52832,
    "c": 0.15255,
    "h": 145.6
  },
  "luminance": 0.16077
}

Semantic roles & 50–950 ramp

primary
#18812C
secondary
#B5409F
accent
#3CCAEB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #18812C

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

Preview Lab → · Contrast checker → · Palette generator →

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