#187B1E#187B1E

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

Color values

HEX#187B1E
RGBrgb(24, 123, 30)
HSLhsl(124, 67%, 29%)
HSVhsv(124, 80%, 48%)
CMYKcmyk(80.5%, 0%, 75.6%, 51.8%)
CIE-LABlab(44.88, -46.11, 40.69)
CIE-LCHlch(44.88, 61.50, 138.57°)
OKLaboklab(50.97% -0.1249 0.0923)
OKLCHoklch(50.97% 0.155 143.5)
XYZxyz(7.6935, 14.4529, 3.6123)
Luminance0.1445 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187B1E #7B1875
analogous
#447B18 #187B1E #187B50
triadic
#187B1E #1E187B #7B1E18
tetradic
#187B1E #18447B #7B1875 #7B5018
square
#187B1E #18447B #7B1875 #7B5018
split-complementary
#187B1E #50187B #7B1844
monochromatic
#051A06 #0E4812 #187B1E #22AE2A #36D840

Accessibility & contrast

On white

5.40
#187B1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#187B1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187B1E
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187B1E#FFFFFF#000000##FFFFFF
##187B1E1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F0D
Deuteranopia (green-blind)
#736728
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #187b1e;
/* rgb */ color: rgb(24, 123, 30);
/* oklch */ color: oklch(51.0% 0.155 143.5);
Tailwind
colors: {
  custom: {
    50: '#68a260',
    500: '#187b1e',
    950: '#000000',
  },
}
SCSS
$custom: #187b1e;
$custom-light: #68a260;
$custom-dark: #000000;
JSON
{
  "hex": "#187b1e",
  "rgb": {
    "r": 24,
    "g": 123,
    "b": 30
  },
  "hsl": {
    "h": 123.636,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50967,
    "c": 0.15529,
    "h": 143.5
  },
  "luminance": 0.14454
}

Semantic roles & 50–950 ramp

primary
#187B1E
secondary
#B03FA9
accent
#3EE0EA
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #187B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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