#18811C#18811C

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

Color values

HEX#18811C
RGBrgb(24, 129, 28)
HSLhsl(122, 69%, 30%)
HSVhsv(122, 81%, 51%)
CMYKcmyk(81.4%, 0%, 78.3%, 49.4%)
CIE-LABlab(46.95, -48.28, 43.53)
CIE-LCHlch(46.95, 65.00, 137.97°)
OKLaboklab(52.68% -0.1309 0.0979)
OKLCHoklch(52.68% 0.163 143.2)
XYZxyz(8.4360, 15.9775, 3.7378)
Luminance0.1598 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18811C #81187D
analogous
#488118 #18811C #188151
triadic
#18811C #1C1881 #811C18
tetradic
#18811C #184881 #81187D #815118
square
#18811C #184881 #81187D #815118
split-complementary
#18811C #511881 #811848
monochromatic
#051A06 #0E4D11 #18811C #22B527 #39DA3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18811C#FFFFFF#000000##FFFFFF
##18811C1.005.014.205.01
#FFFFFF5.011.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847405
Deuteranopia (green-blind)
#796C27
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #18811c;
/* rgb */ color: rgb(24, 129, 28);
/* oklch */ color: oklch(52.7% 0.163 143.2);
Tailwind
colors: {
  custom: {
    50: '#6aa760',
    500: '#18811c',
    950: '#000000',
  },
}
SCSS
$custom: #18811c;
$custom-light: #6aa760;
$custom-dark: #000000;
JSON
{
  "hex": "#18811c",
  "rgb": {
    "r": 24,
    "g": 129,
    "b": 28
  },
  "hsl": {
    "h": 122.286,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.52684,
    "c": 0.16346,
    "h": 143.2
  },
  "luminance": 0.15979
}

Semantic roles & 50–950 ramp

primary
#18811C
secondary
#B540B1
accent
#3CE5EB
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #18811C

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

Preview Lab → · Contrast checker → · Palette generator →

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