#187228#187228

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

Color values

HEX#187228
RGBrgb(24, 114, 40)
HSLhsl(131, 65%, 27%)
HSVhsv(131, 79%, 45%)
CMYKcmyk(78.9%, 0%, 64.9%, 55.3%)
CIE-LABlab(41.82, -41.88, 32.98)
CIE-LCHlch(41.82, 53.30, 141.78°)
OKLaboklab(48.45% -0.1129 0.0772)
OKLCHoklch(48.45% 0.137 145.6)
XYZxyz(6.7765, 12.3812, 4.0397)
Luminance0.1238 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187228 #721862
analogous
#357218 #187228 #187255
triadic
#187228 #281872 #722818
tetradic
#187228 #183572 #721862 #725518
square
#187228 #183572 #721862 #725518
split-complementary
#187228 #551872 #721835
monochromatic
#051909 #0D3F16 #187228 #23A53A #31D44E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187228#FFFFFF#000000##FFFFFF
##1872281.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)
#746720
Deuteranopia (green-blind)
#6A602E
Tritanopia (blue-blind)
#006F62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #187228;
/* rgb */ color: rgb(24, 114, 40);
/* oklch */ color: oklch(48.5% 0.137 145.6);
Tailwind
colors: {
  custom: {
    50: '#659b65',
    500: '#187228',
    950: '#000000',
  },
}
SCSS
$custom: #187228;
$custom-light: #659b65;
$custom-dark: #000000;
JSON
{
  "hex": "#187228",
  "rgb": {
    "r": 24,
    "g": 114,
    "b": 40
  },
  "hsl": {
    "h": 130.667,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48454,
    "c": 0.13681,
    "h": 145.6
  },
  "luminance": 0.12382
}

Semantic roles & 50–950 ramp

primary
#187228
secondary
#A73E95
accent
#40CAE8
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #187228

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

Preview Lab → · Contrast checker → · Palette generator →

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