#18811A#18811A

#18811A is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.7% C 0.165 H 143.0°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#18811A
RGBrgb(24, 129, 26)
HSLhsl(121, 69%, 30%)
HSVhsv(121, 81%, 51%)
CMYKcmyk(81.4%, 0%, 79.8%, 49.4%)
CIE-LABlab(46.93, -48.43, 44.22)
CIE-LCHlch(46.93, 65.58, 137.60°)
OKLaboklab(52.67% -0.1314 0.0991)
OKLCHoklch(52.67% 0.165 143)
XYZxyz(8.4129, 15.9683, 3.6159)
Luminance0.1597 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18811A #81187F
analogous
#4A8118 #18811A #18814F
triadic
#18811A #1A1881 #811A18
tetradic
#18811A #184A81 #81187F #814F18
square
#18811A #184A81 #81187F #814F18
split-complementary
#18811A #4F1881 #81184A
monochromatic
#051A05 #0E4D10 #18811A #22B524 #39DA3C

Accessibility & contrast

On white

5.01
#18811A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#18811A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18811A
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18811A#FFFFFF#000000##FFFFFF
##18811A1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847401
Deuteranopia (green-blind)
#796C26
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #18811a;
/* rgb */ color: rgb(24, 129, 26);
/* oklch */ color: oklch(52.7% 0.165 143.0);
Tailwind
colors: {
  custom: {
    50: '#6aa75f',
    500: '#18811a',
    950: '#000000',
  },
}
SCSS
$custom: #18811a;
$custom-light: #6aa75f;
$custom-dark: #000000;
JSON
{
  "hex": "#18811a",
  "rgb": {
    "r": 24,
    "g": 129,
    "b": 26
  },
  "hsl": {
    "h": 121.143,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.5267,
    "c": 0.16456,
    "h": 143
  },
  "luminance": 0.15969
}

Semantic roles & 50–950 ramp

primary
#18811A
secondary
#B540B3
accent
#3CE8EB
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #18811A

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

Preview Lab → · Contrast checker → · Palette generator →

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