#187334#187334

#187334 is a mid, vivid green. Relative luminance 0.127; OKLCH L 48.9% C 0.127 H 148.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#187334
RGBrgb(24, 115, 52)
HSLhsl(138, 65%, 27%)
HSVhsv(138, 79%, 45%)
CMYKcmyk(79.1%, 0%, 54.8%, 54.9%)
CIE-LABlab(42.31, -40.50, 27.40)
CIE-LCHlch(42.31, 48.90, 145.92°)
OKLaboklab(48.91% -0.1089 0.0661)
OKLCHoklch(48.91% 0.127 148.8)
XYZxyz(7.1267, 12.7028, 5.3244)
Luminance0.1270 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187334 #731857
analogous
#297318 #187334 #187362
triadic
#187334 #341873 #733418
tetradic
#187334 #182973 #731857 #736218
square
#187334 #182973 #731857 #736218
split-complementary
#187334 #621873 #731829
monochromatic
#05190B #0D401D #187334 #23A64B #31D463

Accessibility & contrast

On white

5.93
#187334 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#187334 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187334
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187334#FFFFFF#000000##FFFFFF
##1873341.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74682E
Deuteranopia (green-blind)
#6A6139
Tritanopia (blue-blind)
#007165
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #187334;
/* rgb */ color: rgb(24, 115, 52);
/* oklch */ color: oklch(48.9% 0.127 148.8);
Tailwind
colors: {
  custom: {
    50: '#659c6d',
    500: '#187334',
    950: '#000000',
  },
}
SCSS
$custom: #187334;
$custom-light: #659c6d;
$custom-dark: #000000;
JSON
{
  "hex": "#187334",
  "rgb": {
    "r": 24,
    "g": 115,
    "b": 52
  },
  "hsl": {
    "h": 138.462,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.48913,
    "c": 0.12735,
    "h": 148.8
  },
  "luminance": 0.12704
}

Semantic roles & 50–950 ramp

primary
#187334
secondary
#A83F88
accent
#3FB4E8
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E07
muted
#7A7E7A

Preview Lab

Preview with #187334

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

Preview Lab → · Contrast checker → · Palette generator →

#187334 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva