#187238#187238

#187238 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.7% C 0.122 H 150.3°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#187238
RGBrgb(24, 114, 56)
HSLhsl(141, 65%, 27%)
HSVhsv(141, 79%, 45%)
CMYKcmyk(78.9%, 0%, 50.9%, 55.3%)
CIE-LABlab(42.02, -39.44, 24.86)
CIE-LCHlch(42.02, 46.63, 147.77°)
OKLaboklab(48.69% -0.106 0.0606)
OKLCHoklch(48.69% 0.122 150.3)
XYZxyz(7.1072, 12.5135, 5.7814)
Luminance0.1251 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187238 #721852
analogous
#257218 #187238 #187265
triadic
#187238 #381872 #723818
tetradic
#187238 #182572 #721852 #726518
square
#187238 #182572 #721852 #726518
split-complementary
#187238 #651872 #721825
monochromatic
#05190C #0D3F1F #187238 #23A551 #31D46B

Accessibility & contrast

On white

6.00
#187238 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#187238 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187238
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187238#FFFFFF#000000##FFFFFF
##1872381.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736833
Deuteranopia (green-blind)
#68603C
Tritanopia (blue-blind)
#007064
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #187238;
/* rgb */ color: rgb(24, 114, 56);
/* oklch */ color: oklch(48.7% 0.122 150.3);
Tailwind
colors: {
  custom: {
    50: '#659b70',
    500: '#187238',
    950: '#000000',
  },
}
SCSS
$custom: #187238;
$custom-light: #659b70;
$custom-dark: #000000;
JSON
{
  "hex": "#187238",
  "rgb": {
    "r": 24,
    "g": 114,
    "b": 56
  },
  "hsl": {
    "h": 141.333,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48691,
    "c": 0.12209,
    "h": 150.3
  },
  "luminance": 0.12514
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #187238

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

Preview Lab → · Contrast checker → · Palette generator →

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