#187F20#187F20

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

Color values

HEX#187F20
RGBrgb(24, 127, 32)
HSLhsl(125, 68%, 30%)
HSVhsv(125, 81%, 50%)
CMYKcmyk(81.1%, 0%, 74.8%, 50.2%)
CIE-LABlab(46.28, -47.28, 41.34)
CIE-LCHlch(46.28, 62.80, 138.83°)
OKLaboklab(52.14% -0.1279 0.0939)
OKLCHoklch(52.14% 0.159 143.7)
XYZxyz(8.2262, 15.4762, 3.9199)
Luminance0.1548 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F20 #7F1877
analogous
#447F18 #187F20 #187F54
triadic
#187F20 #20187F #7F2018
tetradic
#187F20 #18447F #7F1877 #7F5418
square
#187F20 #18447F #7F1877 #7F5418
split-complementary
#187F20 #54187F #7F1844
monochromatic
#051A06 #0E4C13 #187F20 #22B22D #38D945

Accessibility & contrast

On white

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

On black

4.10
#187F20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##187F20#FFFFFF#000000##FFFFFF
##187F201.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82720F
Deuteranopia (green-blind)
#766B2A
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #187f20;
/* rgb */ color: rgb(24, 127, 32);
/* oklch */ color: oklch(52.1% 0.159 143.7);
Tailwind
colors: {
  custom: {
    50: '#69a562',
    500: '#187f20',
    950: '#000000',
  },
}
SCSS
$custom: #187f20;
$custom-light: #69a562;
$custom-dark: #000000;
JSON
{
  "hex": "#187f20",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 32
  },
  "hsl": {
    "h": 124.66,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52139,
    "c": 0.15873,
    "h": 143.7
  },
  "luminance": 0.15477
}

Semantic roles & 50–950 ramp

primary
#187F20
secondary
#B33FAA
accent
#3DDEEB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #187F20

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

Preview Lab → · Contrast checker → · Palette generator →

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