#18811B#18811B

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

Color values

HEX#18811B
RGBrgb(24, 129, 27)
HSLhsl(122, 69%, 30%)
HSVhsv(122, 81%, 51%)
CMYKcmyk(81.4%, 0%, 79.1%, 49.4%)
CIE-LABlab(46.94, -48.36, 43.88)
CIE-LCHlch(46.94, 65.30, 137.78°)
OKLaboklab(52.68% -0.1311 0.0985)
OKLCHoklch(52.68% 0.164 143.1)
XYZxyz(8.4242, 15.9728, 3.6758)
Luminance0.1597 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18811B #81187E
analogous
#4A8118 #18811B #18814F
triadic
#18811B #1B1881 #811B18
tetradic
#18811B #184A81 #81187E #814F18
square
#18811B #184A81 #81187E #814F18
split-complementary
#18811B #4F1881 #81184A
monochromatic
#051A05 #0E4D10 #18811B #22B526 #39DA3E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18811B#FFFFFF#000000##FFFFFF
##18811B1.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)
#847403
Deuteranopia (green-blind)
#796C27
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #18811b;
/* rgb */ color: rgb(24, 129, 27);
/* oklch */ color: oklch(52.7% 0.164 143.1);
Tailwind
colors: {
  custom: {
    50: '#6aa760',
    500: '#18811b',
    950: '#000000',
  },
}
SCSS
$custom: #18811b;
$custom-light: #6aa760;
$custom-dark: #000000;
JSON
{
  "hex": "#18811b",
  "rgb": {
    "r": 24,
    "g": 129,
    "b": 27
  },
  "hsl": {
    "h": 121.714,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.52677,
    "c": 0.16401,
    "h": 143.1
  },
  "luminance": 0.15974
}

Semantic roles & 50–950 ramp

primary
#18811B
secondary
#B540B2
accent
#3CE6EB
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #18811B

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

Preview Lab → · Contrast checker → · Palette generator →

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