#18771E#18771E

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

Color values

HEX#18771E
RGBrgb(24, 119, 30)
HSLhsl(124, 66%, 28%)
HSVhsv(124, 80%, 47%)
CMYKcmyk(79.8%, 0%, 74.8%, 53.3%)
CIE-LABlab(43.48, -44.74, 39.26)
CIE-LCHlch(43.48, 59.52, 138.73°)
OKLaboklab(49.81% -0.1211 0.0893)
OKLCHoklch(49.81% 0.151 143.6)
XYZxyz(7.2074, 13.4807, 3.4502)
Luminance0.1348 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18771E #771871
analogous
#427718 #18771E #18774D
triadic
#18771E #1E1877 #771E18
tetradic
#18771E #184277 #771871 #774D18
square
#18771E #184277 #771871 #774D18
split-complementary
#18771E #4D1877 #771842
monochromatic
#051906 #0E4411 #18771E #22AA2B #33D63E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18771E#FFFFFF#000000##FFFFFF
##18771E1.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)
#7A6B0F
Deuteranopia (green-blind)
#6F6427
Tritanopia (blue-blind)
#007366
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #18771e;
/* rgb */ color: rgb(24, 119, 30);
/* oklch */ color: oklch(49.8% 0.151 143.6);
Tailwind
colors: {
  custom: {
    50: '#679f60',
    500: '#18771e',
    950: '#000000',
  },
}
SCSS
$custom: #18771e;
$custom-light: #679f60;
$custom-dark: #000000;
JSON
{
  "hex": "#18771e",
  "rgb": {
    "r": 24,
    "g": 119,
    "b": 30
  },
  "hsl": {
    "h": 123.789,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49806,
    "c": 0.15052,
    "h": 143.6
  },
  "luminance": 0.13482
}

Semantic roles & 50–950 ramp

primary
#18771E
secondary
#AC3FA5
accent
#3EDFE9
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #18771E

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

Preview Lab → · Contrast checker → · Palette generator →

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