#187B14#187B14

#187B14 is a mid, vivid green. Relative luminance 0.144; OKLCH L 50.9% C 0.161 H 142.4°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#187B14
RGBrgb(24, 123, 20)
HSLhsl(118, 72%, 28%)
HSVhsv(118, 84%, 48%)
CMYKcmyk(80.5%, 0%, 83.7%, 51.8%)
CIE-LABlab(44.81, -46.86, 44.16)
CIE-LCHlch(44.81, 64.39, 136.70°)
OKLaboklab(50.9% -0.1274 0.0981)
OKLCHoklch(50.9% 0.161 142.4)
XYZxyz(7.5854, 14.4097, 3.0433)
Luminance0.1441 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187B14 #77147B
analogous
#4B7B14 #187B14 #147B43
triadic
#187B14 #14187B #7B1418
tetradic
#187B14 #144B7B #77147B #7B4314
square
#187B14 #144B7B #77147B #7B4314
split-complementary
#187B14 #43147B #7B144B
monochromatic
#051A04 #0E460B #187B14 #22B01D #33DD2D

Accessibility & contrast

On white

5.41
#187B14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#187B14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187B14
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187B14#FFFFFF#000000##FFFFFF
##187B141.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#736721
Tritanopia (blue-blind)
#007768
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #187b14;
/* rgb */ color: rgb(24, 123, 20);
/* oklch */ color: oklch(50.9% 0.161 142.4);
Tailwind
colors: {
  custom: {
    50: '#69a25c',
    500: '#187b14',
    950: '#000000',
  },
}
SCSS
$custom: #187b14;
$custom-light: #69a25c;
$custom-dark: #000000;
JSON
{
  "hex": "#187b14",
  "rgb": {
    "r": 24,
    "g": 123,
    "b": 20
  },
  "hsl": {
    "h": 117.67,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50897,
    "c": 0.16078,
    "h": 142.4
  },
  "luminance": 0.14411
}

Semantic roles & 50–950 ramp

primary
#187B14
secondary
#AC3AB1
accent
#39EFE8
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #187B14

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

Preview Lab → · Contrast checker → · Palette generator →

#187B14 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva