#18781B#18781B

#18781B is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.1% C 0.154 H 143.2°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#18781B
RGBrgb(24, 120, 27)
HSLhsl(122, 67%, 28%)
HSVhsv(122, 80%, 47%)
CMYKcmyk(80%, 0%, 77.5%, 52.9%)
CIE-LABlab(43.81, -45.35, 40.77)
CIE-LCHlch(43.81, 60.98, 138.04°)
OKLaboklab(50.07% -0.1229 0.0921)
OKLCHoklch(50.07% 0.154 143.2)
XYZxyz(7.2905, 13.7054, 3.2979)
Luminance0.1371 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18781B #781875
analogous
#457818 #18781B #18784B
triadic
#18781B #1B1878 #781B18
tetradic
#18781B #184578 #781875 #784B18
square
#18781B #184578 #781875 #784B18
split-complementary
#18781B #4B1878 #781845
monochromatic
#051A06 #0E4510 #18781B #22AB26 #34D639

Accessibility & contrast

On white

5.61
#18781B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#18781B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18781B
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18781B#FFFFFF#000000##FFFFFF
##18781B1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C08
Deuteranopia (green-blind)
#706525
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #18781b;
/* rgb */ color: rgb(24, 120, 27);
/* oklch */ color: oklch(50.1% 0.154 143.2);
Tailwind
colors: {
  custom: {
    50: '#68a05e',
    500: '#18781b',
    950: '#000000',
  },
}
SCSS
$custom: #18781b;
$custom-light: #68a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#18781b",
  "rgb": {
    "r": 24,
    "g": 120,
    "b": 27
  },
  "hsl": {
    "h": 121.875,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50073,
    "c": 0.1536,
    "h": 143.2
  },
  "luminance": 0.13706
}

Semantic roles & 50–950 ramp

primary
#18781B
secondary
#AD3FA9
accent
#3EE4EA
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #18781B

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

Preview Lab → · Contrast checker → · Palette generator →

#18781B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva