#18831C#18831C

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

Color values

HEX#18831C
RGBrgb(24, 131, 28)
HSLhsl(122, 69%, 30%)
HSVhsv(122, 82%, 51%)
CMYKcmyk(81.7%, 0%, 78.6%, 48.6%)
CIE-LABlab(47.64, -48.94, 44.21)
CIE-LCHlch(47.64, 65.95, 137.91°)
OKLaboklab(53.26% -0.1326 0.0994)
OKLCHoklch(53.26% 0.166 143.2)
XYZxyz(8.7020, 16.5096, 3.8264)
Luminance0.1651 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18831C #83187F
analogous
#498318 #18831C #188351
triadic
#18831C #1C1883 #831C18
tetradic
#18831C #184983 #83187F #835118
square
#18831C #184983 #83187F #835118
split-complementary
#18831C #511883 #831849
monochromatic
#051C06 #0F4F11 #18831C #21B727 #3ADB40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18831C#FFFFFF#000000##FFFFFF
##18831C1.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)
#867604
Deuteranopia (green-blind)
#7A6E28
Tritanopia (blue-blind)
#007F6F
Achromatopsia (no color)
#717171

Design tokens & code

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

Semantic roles & 50–950 ramp

primary
#18831C
secondary
#B740B3
accent
#3CE5EC
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#081005
muted
#7A7F79

Preview Lab

Preview with #18831C

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

Preview Lab → · Contrast checker → · Palette generator →

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