#187226#187226

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

Color values

HEX#187226
RGBrgb(24, 114, 38)
HSLhsl(129, 65%, 27%)
HSVhsv(129, 79%, 45%)
CMYKcmyk(78.9%, 0%, 66.7%, 55.3%)
CIE-LABlab(41.80, -42.13, 33.92)
CIE-LCHlch(41.80, 54.08, 141.16°)
OKLaboklab(48.43% -0.1137 0.079)
OKLCHoklch(48.43% 0.138 145.2)
XYZxyz(6.7434, 12.3680, 3.8652)
Luminance0.1237 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187226 #721864
analogous
#377218 #187226 #187253
triadic
#187226 #261872 #722618
tetradic
#187226 #183772 #721864 #725318
square
#187226 #183772 #721864 #725318
split-complementary
#187226 #531872 #721837
monochromatic
#051908 #0D3F15 #187226 #23A537 #31D44A

Accessibility & contrast

On white

6.05
#187226 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#187226 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187226
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187226#FFFFFF#000000##FFFFFF
##1872261.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #187226;
/* rgb */ color: rgb(24, 114, 38);
/* oklch */ color: oklch(48.4% 0.138 145.2);
Tailwind
colors: {
  custom: {
    50: '#659b64',
    500: '#187226',
    950: '#000000',
  },
}
SCSS
$custom: #187226;
$custom-light: #659b64;
$custom-dark: #000000;
JSON
{
  "hex": "#187226",
  "rgb": {
    "r": 24,
    "g": 114,
    "b": 38
  },
  "hsl": {
    "h": 129.333,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48431,
    "c": 0.13846,
    "h": 145.2
  },
  "luminance": 0.12369
}

Semantic roles & 50–950 ramp

primary
#187226
secondary
#A73E97
accent
#40CEE8
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E05
muted
#7A7E7A

Preview Lab

Preview with #187226

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

Preview Lab → · Contrast checker → · Palette generator →

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