#187A1E#187A1E

#187A1E is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.7% C 0.154 H 143.5°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#187A1E
RGBrgb(24, 122, 30)
HSLhsl(124, 67%, 29%)
HSVhsv(124, 80%, 48%)
CMYKcmyk(80.3%, 0%, 75.4%, 52.2%)
CIE-LABlab(44.53, -45.77, 40.34)
CIE-LCHlch(44.53, 61.01, 138.61°)
OKLaboklab(50.68% -0.1239 0.0916)
OKLCHoklch(50.68% 0.154 143.5)
XYZxyz(7.5701, 14.2061, 3.5711)
Luminance0.1421 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A1E #7A1874
analogous
#437A18 #187A1E #187A4F
triadic
#187A1E #1E187A #7A1E18
tetradic
#187A1E #18437A #7A1874 #7A4F18
square
#187A1E #18437A #7A1874 #7A4F18
split-complementary
#187A1E #4F187A #7A1843
monochromatic
#051A06 #0E4711 #187A1E #22AD2B #35D73F

Accessibility & contrast

On white

5.47
#187A1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#187A1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187A1E
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187A1E#FFFFFF#000000##FFFFFF
##187A1E1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E0E
Deuteranopia (green-blind)
#726628
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #187a1e;
/* rgb */ color: rgb(24, 122, 30);
/* oklch */ color: oklch(50.7% 0.154 143.5);
Tailwind
colors: {
  custom: {
    50: '#68a160',
    500: '#187a1e',
    950: '#000000',
  },
}
SCSS
$custom: #187a1e;
$custom-light: #68a160;
$custom-dark: #000000;
JSON
{
  "hex": "#187a1e",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 30
  },
  "hsl": {
    "h": 123.673,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50678,
    "c": 0.1541,
    "h": 143.5
  },
  "luminance": 0.14207
}

Semantic roles & 50–950 ramp

primary
#187A1E
secondary
#AF3FA8
accent
#3EDFEA
background
#F6FAF5
surface
#ECF3EA
border
#C7CDC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #187A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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