#187F13#187F13

#187F13 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.1% C 0.166 H 142.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#187F13
RGBrgb(24, 127, 19)
HSLhsl(117, 74%, 29%)
HSVhsv(117, 85%, 50%)
CMYKcmyk(81.1%, 0%, 85%, 50.2%)
CIE-LABlab(46.20, -48.24, 45.74)
CIE-LCHlch(46.20, 66.48, 136.52°)
OKLaboklab(52.05% -0.1311 0.1013)
OKLCHoklch(52.05% 0.166 142.3)
XYZxyz(8.0831, 15.4190, 3.1661)
Luminance0.1542 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F13 #7A137F
analogous
#4E7F13 #187F13 #137F44
triadic
#187F13 #13187F #7F1318
tetradic
#187F13 #134E7F #7A137F #7F4413
square
#187F13 #134E7F #7A137F #7F4413
split-complementary
#187F13 #44137F #7F134E
monochromatic
#051B04 #0E4A0B #187F13 #22B41B #35E02D

Accessibility & contrast

On white

5.14
#187F13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#187F13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187F13
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187F13#FFFFFF#000000##FFFFFF
##187F131.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#776B21
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #187f13;
/* rgb */ color: rgb(24, 127, 19);
/* oklch */ color: oklch(52.1% 0.166 142.3);
Tailwind
colors: {
  custom: {
    50: '#6aa55c',
    500: '#187f13',
    950: '#000000',
  },
}
SCSS
$custom: #187f13;
$custom-light: #6aa55c;
$custom-dark: #000000;
JSON
{
  "hex": "#187f13",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 19
  },
  "hsl": {
    "h": 117.222,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52051,
    "c": 0.16569,
    "h": 142.3
  },
  "luminance": 0.1542
}

Semantic roles & 50–950 ramp

primary
#187F13
secondary
#AF39B4
accent
#37F1E8
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F04
muted
#7A7F79

Preview Lab

Preview with #187F13

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

Preview Lab → · Contrast checker → · Palette generator →

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