#187F1D#187F1D

#187F1D is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.1% C 0.161 H 143.3°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#187F1D
RGBrgb(24, 127, 29)
HSLhsl(123, 68%, 30%)
HSVhsv(123, 81%, 50%)
CMYKcmyk(81.1%, 0%, 77.2%, 50.2%)
CIE-LABlab(46.26, -47.54, 42.48)
CIE-LCHlch(46.26, 63.75, 138.22°)
OKLaboklab(52.12% -0.1288 0.0959)
OKLCHoklch(52.12% 0.161 143.3)
XYZxyz(8.1873, 15.4607, 3.7149)
Luminance0.1546 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F1D #7F187A
analogous
#467F18 #187F1D #187F51
triadic
#187F1D #1D187F #7F1D18
tetradic
#187F1D #18467F #7F187A #7F5118
square
#187F1D #18467F #7F187A #7F5118
split-complementary
#187F1D #51187F #7F1846
monochromatic
#051A06 #0E4C11 #187F1D #22B229 #38D940

Accessibility & contrast

On white

5.13
#187F1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#187F1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187F1D
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187F1D#FFFFFF#000000##FFFFFF
##187F1D1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827209
Deuteranopia (green-blind)
#776B28
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #187f1d;
/* rgb */ color: rgb(24, 127, 29);
/* oklch */ color: oklch(52.1% 0.161 143.3);
Tailwind
colors: {
  custom: {
    50: '#69a560',
    500: '#187f1d',
    950: '#000000',
  },
}
SCSS
$custom: #187f1d;
$custom-light: #69a560;
$custom-dark: #000000;
JSON
{
  "hex": "#187f1d",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 29
  },
  "hsl": {
    "h": 122.913,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52115,
    "c": 0.16058,
    "h": 143.3
  },
  "luminance": 0.15462
}

Semantic roles & 50–950 ramp

primary
#187F1D
secondary
#B33FAE
accent
#3DE3EB
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #187F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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