#187F2E#187F2E

#187F2E is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.3% C 0.148 H 146.1°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#187F2E
RGBrgb(24, 127, 46)
HSLhsl(133, 68%, 30%)
HSVhsv(133, 81%, 50%)
CMYKcmyk(81.1%, 0%, 63.8%, 50.2%)
CIE-LABlab(46.40, -45.75, 35.29)
CIE-LCHlch(46.40, 57.78, 142.35°)
OKLaboklab(52.28% -0.1232 0.0828)
OKLCHoklch(52.28% 0.148 146.1)
XYZxyz(8.4586, 15.5692, 5.1436)
Luminance0.1557 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F2E #7F1869
analogous
#357F18 #187F2E #187F62
triadic
#187F2E #2E187F #7F2E18
tetradic
#187F2E #18357F #7F1869 #7F6218
square
#187F2E #18357F #7F1869 #7F6218
split-complementary
#187F2E #62187F #7F1835
monochromatic
#051A09 #0E4C1B #187F2E #22B241 #38D95A

Accessibility & contrast

On white

5.10
#187F2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#187F2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187F2E
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187F2E#FFFFFF#000000##FFFFFF
##187F2E1.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817325
Deuteranopia (green-blind)
#766B35
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #187f2e;
/* rgb */ color: rgb(24, 127, 46);
/* oklch */ color: oklch(52.3% 0.148 146.1);
Tailwind
colors: {
  custom: {
    50: '#69a56a',
    500: '#187f2e',
    950: '#000000',
  },
}
SCSS
$custom: #187f2e;
$custom-light: #69a56a;
$custom-dark: #000000;
JSON
{
  "hex": "#187f2e",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 46
  },
  "hsl": {
    "h": 132.816,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52282,
    "c": 0.14844,
    "h": 146.1
  },
  "luminance": 0.1557
}

Semantic roles & 50–950 ramp

primary
#187F2E
secondary
#B33F9B
accent
#3DC6EB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #187F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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