#18812F#18812F

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

Color values

HEX#18812F
RGBrgb(24, 129, 47)
HSLhsl(133, 69%, 30%)
HSVhsv(133, 81%, 51%)
CMYKcmyk(81.4%, 0%, 63.6%, 49.4%)
CIE-LABlab(47.10, -46.32, 35.61)
CIE-LCHlch(47.10, 58.43, 142.45°)
OKLaboklab(52.87% -0.1247 0.0836)
OKLCHoklch(52.87% 0.15 146.2)
XYZxyz(8.7394, 16.0989, 5.3356)
Luminance0.1610 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18812F #81186A
analogous
#358118 #18812F #188164
triadic
#18812F #2F1881 #812F18
tetradic
#18812F #183581 #81186A #816418
square
#18812F #183581 #81186A #816418
split-complementary
#18812F #641881 #811835
monochromatic
#051A09 #0E4D1C #18812F #22B542 #39DA5C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18812F#FFFFFF#000000##FFFFFF
##18812F1.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)
#837526
Deuteranopia (green-blind)
#776D36
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #18812f;
/* rgb */ color: rgb(24, 129, 47);
/* oklch */ color: oklch(52.9% 0.150 146.2);
Tailwind
colors: {
  custom: {
    50: '#69a76b',
    500: '#18812f',
    950: '#000000',
  },
}
SCSS
$custom: #18812f;
$custom-light: #69a76b;
$custom-dark: #000000;
JSON
{
  "hex": "#18812f",
  "rgb": {
    "r": 24,
    "g": 129,
    "b": 47
  },
  "hsl": {
    "h": 133.143,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.52867,
    "c": 0.15014,
    "h": 146.2
  },
  "luminance": 0.161
}

Semantic roles & 50–950 ramp

primary
#18812F
secondary
#B5409B
accent
#3CC5EB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #18812F

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

Preview Lab → · Contrast checker → · Palette generator →

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