#187231#187231

#187231 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.6% C 0.129 H 148.0°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#187231
RGBrgb(24, 114, 49)
HSLhsl(137, 65%, 27%)
HSVhsv(137, 79%, 45%)
CMYKcmyk(78.9%, 0%, 57%, 55.3%)
CIE-LABlab(41.92, -40.60, 28.52)
CIE-LCHlch(41.92, 49.62, 144.91°)
OKLaboklab(48.58% -0.1092 0.0683)
OKLCHoklch(48.58% 0.129 148)
XYZxyz(6.9478, 12.4498, 4.9420)
Luminance0.1245 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187231 #721859
analogous
#2C7218 #187231 #18725E
triadic
#187231 #311872 #723118
tetradic
#187231 #182C72 #721859 #725E18
square
#187231 #182C72 #721859 #725E18
split-complementary
#187231 #5E1872 #72182C
monochromatic
#05190B #0D3F1B #187231 #23A547 #31D45E

Accessibility & contrast

On white

6.02
#187231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#187231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187231
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187231#FFFFFF#000000##FFFFFF
##1872311.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73672B
Deuteranopia (green-blind)
#696036
Tritanopia (blue-blind)
#006F63
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #187231;
/* rgb */ color: rgb(24, 114, 49);
/* oklch */ color: oklch(48.6% 0.129 148.0);
Tailwind
colors: {
  custom: {
    50: '#659b6b',
    500: '#187231',
    950: '#000000',
  },
}
SCSS
$custom: #187231;
$custom-light: #659b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#187231",
  "rgb": {
    "r": 24,
    "g": 114,
    "b": 49
  },
  "hsl": {
    "h": 136.667,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48577,
    "c": 0.12882,
    "h": 148
  },
  "luminance": 0.12451
}

Semantic roles & 50–950 ramp

primary
#187231
secondary
#A73E8A
accent
#40B9E8
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E07
muted
#7A7E7A

Preview Lab

Preview with #187231

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

Preview Lab → · Contrast checker → · Palette generator →

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