#187227#187227

#187227 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.4% C 0.138 H 145.4°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#187227
RGBrgb(24, 114, 39)
HSLhsl(130, 65%, 27%)
HSVhsv(130, 79%, 45%)
CMYKcmyk(78.9%, 0%, 65.8%, 55.3%)
CIE-LABlab(41.81, -42.00, 33.45)
CIE-LCHlch(41.81, 53.69, 141.47°)
OKLaboklab(48.44% -0.1133 0.0782)
OKLCHoklch(48.44% 0.138 145.4)
XYZxyz(6.7597, 12.3745, 3.9513)
Luminance0.1237 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187227 #721863
analogous
#367218 #187227 #187254
triadic
#187227 #271872 #722718
tetradic
#187227 #183672 #721863 #725418
square
#187227 #183672 #721863 #725418
split-complementary
#187227 #541872 #721836
monochromatic
#051909 #0D3F16 #187227 #23A538 #31D44C

Accessibility & contrast

On white

6.04
#187227 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#187227 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187227
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187227#FFFFFF#000000##FFFFFF
##1872271.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74671E
Deuteranopia (green-blind)
#6A602D
Tritanopia (blue-blind)
#006F62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #187227;
/* rgb */ color: rgb(24, 114, 39);
/* oklch */ color: oklch(48.4% 0.138 145.4);
Tailwind
colors: {
  custom: {
    50: '#659b64',
    500: '#187227',
    950: '#000000',
  },
}
SCSS
$custom: #187227;
$custom-light: #659b64;
$custom-dark: #000000;
JSON
{
  "hex": "#187227",
  "rgb": {
    "r": 24,
    "g": 114,
    "b": 39
  },
  "hsl": {
    "h": 130,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48442,
    "c": 0.13764,
    "h": 145.4
  },
  "luminance": 0.12375
}

Semantic roles & 50–950 ramp

primary
#187227
secondary
#A73E96
accent
#40CCE8
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #187227

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

Preview Lab → · Contrast checker → · Palette generator →

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