#18811F#18811F

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

Color values

HEX#18811F
RGBrgb(24, 129, 31)
HSLhsl(124, 69%, 30%)
HSVhsv(124, 81%, 51%)
CMYKcmyk(81.4%, 0%, 76%, 49.4%)
CIE-LABlab(46.96, -48.03, 42.43)
CIE-LCHlch(46.96, 64.09, 138.55°)
OKLaboklab(52.71% -0.1301 0.0961)
OKLCHoklch(52.71% 0.162 143.5)
XYZxyz(8.4737, 15.9926, 3.9364)
Luminance0.1599 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18811F #81187A
analogous
#468118 #18811F #188153
triadic
#18811F #1F1881 #811F18
tetradic
#18811F #184681 #81187A #815318
square
#18811F #184681 #81187A #815318
split-complementary
#18811F #531881 #811846
monochromatic
#051A06 #0E4D13 #18811F #22B52B #39DA44

Accessibility & contrast

On white

5.00
#18811F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#18811F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18811F
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18811F#FFFFFF#000000##FFFFFF
##18811F1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84740C
Deuteranopia (green-blind)
#786C29
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #18811f;
/* rgb */ color: rgb(24, 129, 31);
/* oklch */ color: oklch(52.7% 0.162 143.5);
Tailwind
colors: {
  custom: {
    50: '#6aa761',
    500: '#18811f',
    950: '#000000',
  },
}
SCSS
$custom: #18811f;
$custom-light: #6aa761;
$custom-dark: #000000;
JSON
{
  "hex": "#18811f",
  "rgb": {
    "r": 24,
    "g": 129,
    "b": 31
  },
  "hsl": {
    "h": 124,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.52707,
    "c": 0.16169,
    "h": 143.5
  },
  "luminance": 0.15994
}

Semantic roles & 50–950 ramp

primary
#18811F
secondary
#B540AD
accent
#3CE0EB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F05
muted
#7A7F7A

Preview Lab

Preview with #18811F

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

Preview Lab → · Contrast checker → · Palette generator →

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