#18771A#18771A

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

Color values

HEX#18771A
RGBrgb(24, 119, 26)
HSLhsl(121, 66%, 28%)
HSVhsv(121, 80%, 47%)
CMYKcmyk(79.8%, 0%, 78.2%, 53.3%)
CIE-LABlab(43.45, -45.09, 40.79)
CIE-LCHlch(43.45, 60.80, 137.86°)
OKLaboklab(49.77% -0.1223 0.092)
OKLCHoklch(49.77% 0.153 143.1)
XYZxyz(7.1595, 13.4616, 3.1981)
Luminance0.1346 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18771A #771875
analogous
#457718 #18771A #187749
triadic
#18771A #1A1877 #771A18
tetradic
#18771A #184577 #771875 #774918
square
#18771A #184577 #771875 #774918
split-complementary
#18771A #491877 #771845
monochromatic
#051906 #0E440F #18771A #22AA25 #33D637

Accessibility & contrast

On white

5.69
#18771A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#18771A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18771A
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18771A#FFFFFF#000000##FFFFFF
##18771A1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18771a;
/* rgb */ color: rgb(24, 119, 26);
/* oklch */ color: oklch(49.8% 0.153 143.1);
Tailwind
colors: {
  custom: {
    50: '#679f5e',
    500: '#18771a',
    950: '#000000',
  },
}
SCSS
$custom: #18771a;
$custom-light: #679f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#18771a",
  "rgb": {
    "r": 24,
    "g": 119,
    "b": 26
  },
  "hsl": {
    "h": 121.263,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49774,
    "c": 0.15301,
    "h": 143.1
  },
  "luminance": 0.13462
}

Semantic roles & 50–950 ramp

primary
#18771A
secondary
#AC3FAA
accent
#3EE6E9
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #18771A

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

Preview Lab → · Contrast checker → · Palette generator →

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