#18831B#18831B

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

Color values

HEX#18831B
RGBrgb(24, 131, 27)
HSLhsl(122, 69%, 30%)
HSVhsv(122, 82%, 51%)
CMYKcmyk(81.7%, 0%, 79.4%, 48.6%)
CIE-LABlab(47.63, -49.02, 44.55)
CIE-LCHlch(47.63, 66.24, 137.73°)
OKLaboklab(53.25% -0.1329 0.0999)
OKLCHoklch(53.25% 0.166 143.1)
XYZxyz(8.6903, 16.5049, 3.7645)
Luminance0.1651 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18831B #831880
analogous
#4B8318 #18831B #188350
triadic
#18831B #1B1883 #831B18
tetradic
#18831B #184B83 #831880 #835018
square
#18831B #184B83 #831880 #835018
split-complementary
#18831B #501883 #83184B
monochromatic
#051C06 #0F4F10 #18831B #21B726 #3ADB3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18831B#FFFFFF#000000##FFFFFF
##18831B1.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)
#867602
Deuteranopia (green-blind)
#7A6E27
Tritanopia (blue-blind)
#007F6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #18831b;
/* rgb */ color: rgb(24, 131, 27);
/* oklch */ color: oklch(53.3% 0.166 143.1);
Tailwind
colors: {
  custom: {
    50: '#6ba860',
    500: '#18831b',
    950: '#000000',
  },
}
SCSS
$custom: #18831b;
$custom-light: #6ba860;
$custom-dark: #000000;
JSON
{
  "hex": "#18831b",
  "rgb": {
    "r": 24,
    "g": 131,
    "b": 27
  },
  "hsl": {
    "h": 121.682,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53252,
    "c": 0.16629,
    "h": 143.1
  },
  "luminance": 0.16506
}

Semantic roles & 50–950 ramp

primary
#18831B
secondary
#B740B4
accent
#3CE7EC
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #18831B

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

Preview Lab → · Contrast checker → · Palette generator →

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