#18771D#18771D

#18771D is a mid, vivid green. Relative luminance 0.135; OKLCH L 49.8% C 0.151 H 143.5°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#18771D
RGBrgb(24, 119, 29)
HSLhsl(123, 66%, 28%)
HSVhsv(123, 80%, 47%)
CMYKcmyk(79.8%, 0%, 75.6%, 53.3%)
CIE-LABlab(43.47, -44.83, 39.66)
CIE-LCHlch(43.47, 59.85, 138.51°)
OKLaboklab(49.8% -0.1214 0.09)
OKLCHoklch(49.8% 0.151 143.5)
XYZxyz(7.1948, 13.4757, 3.3840)
Luminance0.1348 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18771D #771872
analogous
#427718 #18771D #18774C
triadic
#18771D #1D1877 #771D18
tetradic
#18771D #184277 #771872 #774C18
square
#18771D #184277 #771872 #774C18
split-complementary
#18771D #4C1877 #771842
monochromatic
#051906 #0E4411 #18771D #22AA29 #33D63C

Accessibility & contrast

On white

5.68
#18771D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#18771D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18771D
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18771D#FFFFFF#000000##FFFFFF
##18771D1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B0D
Deuteranopia (green-blind)
#6F6426
Tritanopia (blue-blind)
#007365
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #18771d;
/* rgb */ color: rgb(24, 119, 29);
/* oklch */ color: oklch(49.8% 0.151 143.5);
Tailwind
colors: {
  custom: {
    50: '#679f5f',
    500: '#18771d',
    950: '#000000',
  },
}
SCSS
$custom: #18771d;
$custom-light: #679f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#18771d",
  "rgb": {
    "r": 24,
    "g": 119,
    "b": 29
  },
  "hsl": {
    "h": 123.158,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49798,
    "c": 0.15116,
    "h": 143.5
  },
  "luminance": 0.13477
}

Semantic roles & 50–950 ramp

primary
#18771D
secondary
#AC3FA6
accent
#3EE0E9
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #18771D

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

Preview Lab → · Contrast checker → · Palette generator →

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