#187229#187229

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

Color values

HEX#187229
RGBrgb(24, 114, 41)
HSLhsl(131, 65%, 27%)
HSVhsv(131, 79%, 45%)
CMYKcmyk(78.9%, 0%, 64%, 55.3%)
CIE-LABlab(41.83, -41.75, 32.50)
CIE-LCHlch(41.83, 52.91, 142.10°)
OKLaboklab(48.47% -0.1125 0.0763)
OKLCHoklch(48.47% 0.136 145.9)
XYZxyz(6.7938, 12.3881, 4.1305)
Luminance0.1239 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187229 #721861
analogous
#347218 #187229 #187256
triadic
#187229 #291872 #722918
tetradic
#187229 #183472 #721861 #725618
square
#187229 #183472 #721861 #725618
split-complementary
#187229 #561872 #721834
monochromatic
#051909 #0D3F17 #187229 #23A53B #31D450

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187229#FFFFFF#000000##FFFFFF
##1872291.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)
#746721
Deuteranopia (green-blind)
#6A602F
Tritanopia (blue-blind)
#006F62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #187229;
/* rgb */ color: rgb(24, 114, 41);
/* oklch */ color: oklch(48.5% 0.136 145.9);
Tailwind
colors: {
  custom: {
    50: '#659b66',
    500: '#187229',
    950: '#000000',
  },
}
SCSS
$custom: #187229;
$custom-light: #659b66;
$custom-dark: #000000;
JSON
{
  "hex": "#187229",
  "rgb": {
    "r": 24,
    "g": 114,
    "b": 41
  },
  "hsl": {
    "h": 131.333,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48467,
    "c": 0.13597,
    "h": 145.9
  },
  "luminance": 0.12389
}

Semantic roles & 50–950 ramp

primary
#187229
secondary
#A73E94
accent
#40C8E8
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #187229

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

Preview Lab → · Contrast checker → · Palette generator →

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