#187233#187233

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

Color values

HEX#187233
RGBrgb(24, 114, 51)
HSLhsl(138, 65%, 27%)
HSVhsv(138, 79%, 45%)
CMYKcmyk(78.9%, 0%, 55.3%, 55.3%)
CIE-LABlab(41.95, -40.29, 27.49)
CIE-LCHlch(41.95, 48.77, 145.69°)
OKLaboklab(48.61% -0.1083 0.0662)
OKLCHoklch(48.61% 0.127 148.6)
XYZxyz(6.9910, 12.4670, 5.1693)
Luminance0.1247 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187233 #721857
analogous
#2A7218 #187233 #187260
triadic
#187233 #331872 #723318
tetradic
#187233 #182A72 #721857 #726018
square
#187233 #182A72 #721857 #726018
split-complementary
#187233 #601872 #72182A
monochromatic
#05190B #0D3F1C #187233 #23A54A #31D462

Accessibility & contrast

On white

6.01
#187233 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #187233
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187233#FFFFFF#000000##FFFFFF
##1872331.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73672D
Deuteranopia (green-blind)
#696038
Tritanopia (blue-blind)
#007064
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #187233;
/* rgb */ color: rgb(24, 114, 51);
/* oklch */ color: oklch(48.6% 0.127 148.6);
Tailwind
colors: {
  custom: {
    50: '#659b6c',
    500: '#187233',
    950: '#000000',
  },
}
SCSS
$custom: #187233;
$custom-light: #659b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#187233",
  "rgb": {
    "r": 24,
    "g": 114,
    "b": 51
  },
  "hsl": {
    "h": 138,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48608,
    "c": 0.12693,
    "h": 148.6
  },
  "luminance": 0.12468
}

Semantic roles & 50–950 ramp

primary
#187233
secondary
#A73E88
accent
#40B6E8
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E07
muted
#7A7E7A

Preview Lab

Preview with #187233

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

Preview Lab → · Contrast checker → · Palette generator →

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