#187F1E#187F1E

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

Color values

HEX#187F1E
RGBrgb(24, 127, 30)
HSLhsl(123, 68%, 30%)
HSVhsv(123, 81%, 50%)
CMYKcmyk(81.1%, 0%, 76.4%, 50.2%)
CIE-LABlab(46.27, -47.45, 42.10)
CIE-LCHlch(46.27, 63.44, 138.42°)
OKLaboklab(52.12% -0.1285 0.0953)
OKLCHoklch(52.12% 0.16 143.5)
XYZxyz(8.1999, 15.4657, 3.7811)
Luminance0.1547 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F1E #7F1879
analogous
#467F18 #187F1E #187F52
triadic
#187F1E #1E187F #7F1E18
tetradic
#187F1E #18467F #7F1879 #7F5218
square
#187F1E #18467F #7F1879 #7F5218
split-complementary
#187F1E #52187F #7F1846
monochromatic
#051A06 #0E4C12 #187F1E #22B22A #38D941

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187F1E#FFFFFF#000000##FFFFFF
##187F1E1.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)
#82720B
Deuteranopia (green-blind)
#776B28
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #187f1e;
/* rgb */ color: rgb(24, 127, 30);
/* oklch */ color: oklch(52.1% 0.160 143.5);
Tailwind
colors: {
  custom: {
    50: '#69a561',
    500: '#187f1e',
    950: '#000000',
  },
}
SCSS
$custom: #187f1e;
$custom-light: #69a561;
$custom-dark: #000000;
JSON
{
  "hex": "#187f1e",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 30
  },
  "hsl": {
    "h": 123.495,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52123,
    "c": 0.15997,
    "h": 143.5
  },
  "luminance": 0.15467
}

Semantic roles & 50–950 ramp

primary
#187F1E
secondary
#B33FAD
accent
#3DE1EB
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #187F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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