#187F4B#187F4B

#187F4B is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.121 H 155.2°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#187F4B
RGBrgb(24, 127, 75)
HSLhsl(150, 68%, 30%)
HSVhsv(150, 81%, 50%)
CMYKcmyk(81.1%, 0%, 40.9%, 50.2%)
CIE-LABlab(46.82, -40.90, 20.44)
CIE-LCHlch(46.82, 45.72, 153.45°)
OKLaboklab(52.76% -0.1102 0.0509)
OKLCHoklch(52.76% 0.121 155.2)
XYZxyz(9.2352, 15.8798, 9.2336)
Luminance0.1588 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F4B #7F184C
analogous
#187F18 #187F4B #187F7F
triadic
#187F4B #4B187F #7F4B18
tetradic
#187F4B #18187F #7F184C #7F7F18
square
#187F4B #18187F #7F184C #7F7F18
split-complementary
#187F4B #7F187F #7F1818
monochromatic
#051A0F #0E4C2D #187F4B #22B269 #38D988

Accessibility & contrast

On white

5.03
#187F4B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#187F4B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187F4B
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187F4B#FFFFFF#000000##FFFFFF
##187F4B1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7447
Deuteranopia (green-blind)
#736C4E
Tritanopia (blue-blind)
#007E72
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #187f4b;
/* rgb */ color: rgb(24, 127, 75);
/* oklch */ color: oklch(52.8% 0.121 155.2);
Tailwind
colors: {
  custom: {
    50: '#68a57e',
    500: '#187f4b',
    950: '#000000',
  },
}
SCSS
$custom: #187f4b;
$custom-light: #68a57e;
$custom-dark: #000000;
JSON
{
  "hex": "#187f4b",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 75
  },
  "hsl": {
    "h": 149.709,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52758,
    "c": 0.1214,
    "h": 155.2
  },
  "luminance": 0.15881
}

Semantic roles & 50–950 ramp

primary
#187F4B
secondary
#B33F7A
accent
#3D95EB
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #187F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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