#187138#187138

#187138 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.4% C 0.121 H 150.4°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#187138
RGBrgb(24, 113, 56)
HSLhsl(142, 65%, 27%)
HSVhsv(142, 79%, 44%)
CMYKcmyk(78.8%, 0%, 50.4%, 55.7%)
CIE-LABlab(41.67, -39.05, 24.43)
CIE-LCHlch(41.67, 46.06, 147.98°)
OKLaboklab(48.4% -0.105 0.0596)
OKLCHoklch(48.4% 0.121 150.4)
XYZxyz(6.9950, 12.2891, 5.7440)
Luminance0.1229 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187138 #711851
analogous
#257118 #187138 #187165
triadic
#187138 #381871 #713818
tetradic
#187138 #182571 #711851 #716518
square
#187138 #182571 #711851 #716518
split-complementary
#187138 #651871 #711825
monochromatic
#05190D #0D3F1F #187138 #23A351 #30D36B

Accessibility & contrast

On white

6.07
#187138 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#187138 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187138
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187138#FFFFFF#000000##FFFFFF
##1871381.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726733
Deuteranopia (green-blind)
#675F3C
Tritanopia (blue-blind)
#006F64
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #187138;
/* rgb */ color: rgb(24, 113, 56);
/* oklch */ color: oklch(48.4% 0.121 150.4);
Tailwind
colors: {
  custom: {
    50: '#649b6f',
    500: '#187138',
    950: '#000000',
  },
}
SCSS
$custom: #187138;
$custom-light: #649b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#187138",
  "rgb": {
    "r": 24,
    "g": 113,
    "b": 56
  },
  "hsl": {
    "h": 141.573,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48402,
    "c": 0.1207,
    "h": 150.4
  },
  "luminance": 0.1229
}

Semantic roles & 50–950 ramp

primary
#187138
secondary
#A63E81
accent
#40ACE8
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#060E07
muted
#7A7E7A

Preview Lab

Preview with #187138

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

Preview Lab → · Contrast checker → · Palette generator →

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