#18811E#18811E

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

Color values

HEX#18811E
RGBrgb(24, 129, 30)
HSLhsl(123, 69%, 30%)
HSVhsv(123, 81%, 51%)
CMYKcmyk(81.4%, 0%, 76.7%, 49.4%)
CIE-LABlab(46.96, -48.12, 42.80)
CIE-LCHlch(46.96, 64.40, 138.35°)
OKLaboklab(52.7% -0.1303 0.0967)
OKLCHoklch(52.7% 0.162 143.4)
XYZxyz(8.4607, 15.9874, 3.8680)
Luminance0.1599 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18811E #81187B
analogous
#468118 #18811E #188153
triadic
#18811E #1E1881 #811E18
tetradic
#18811E #184681 #81187B #815318
square
#18811E #184681 #81187B #815318
split-complementary
#18811E #531881 #811846
monochromatic
#051A06 #0E4D12 #18811E #22B52A #39DA42

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18811E#FFFFFF#000000##FFFFFF
##18811E1.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)
#84740A
Deuteranopia (green-blind)
#786C29
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #18811e;
/* rgb */ color: rgb(24, 129, 30);
/* oklch */ color: oklch(52.7% 0.162 143.4);
Tailwind
colors: {
  custom: {
    50: '#6aa761',
    500: '#18811e',
    950: '#000000',
  },
}
SCSS
$custom: #18811e;
$custom-light: #6aa761;
$custom-dark: #000000;
JSON
{
  "hex": "#18811e",
  "rgb": {
    "r": 24,
    "g": 129,
    "b": 30
  },
  "hsl": {
    "h": 123.429,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.52699,
    "c": 0.16229,
    "h": 143.4
  },
  "luminance": 0.15988
}

Semantic roles & 50–950 ramp

primary
#18811E
secondary
#B540AE
accent
#3CE1EB
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #18811E

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

Preview Lab → · Contrast checker → · Palette generator →

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