#18831D#18831D

#18831D is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.3% C 0.165 H 143.3°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#18831D
RGBrgb(24, 131, 29)
HSLhsl(123, 69%, 30%)
HSVhsv(123, 82%, 51%)
CMYKcmyk(81.7%, 0%, 77.9%, 48.6%)
CIE-LABlab(47.64, -48.86, 43.85)
CIE-LCHlch(47.64, 65.66, 138.09°)
OKLaboklab(53.27% -0.1324 0.0988)
OKLCHoklch(53.27% 0.165 143.3)
XYZxyz(8.7142, 16.5144, 3.8905)
Luminance0.1651 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18831D #83187E
analogous
#488318 #18831D #188353
triadic
#18831D #1D1883 #831D18
tetradic
#18831D #184883 #83187E #835318
square
#18831D #184883 #83187E #835318
split-complementary
#18831D #531883 #831848
monochromatic
#051C06 #0F4F12 #18831D #21B728 #3ADB42

Accessibility & contrast

On white

4.88
#18831D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#18831D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18831D
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18831D#FFFFFF#000000##FFFFFF
##18831D1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867606
Deuteranopia (green-blind)
#7A6E28
Tritanopia (blue-blind)
#007F70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #18831d;
/* rgb */ color: rgb(24, 131, 29);
/* oklch */ color: oklch(53.3% 0.165 143.3);
Tailwind
colors: {
  custom: {
    50: '#6ba861',
    500: '#18831d',
    950: '#000000',
  },
}
SCSS
$custom: #18831d;
$custom-light: #6ba861;
$custom-dark: #000000;
JSON
{
  "hex": "#18831d",
  "rgb": {
    "r": 24,
    "g": 131,
    "b": 29
  },
  "hsl": {
    "h": 122.804,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53266,
    "c": 0.16518,
    "h": 143.3
  },
  "luminance": 0.16515
}

Semantic roles & 50–950 ramp

primary
#18831D
secondary
#B740B1
accent
#3CE4EC
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#081005
muted
#7A7F79

Preview Lab

Preview with #18831D

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

Preview Lab → · Contrast checker → · Palette generator →

#18831D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva