#187F29#187F29

#187F29 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.2% C 0.152 H 145.1°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#187F29
RGBrgb(24, 127, 41)
HSLhsl(130, 68%, 30%)
HSVhsv(130, 81%, 50%)
CMYKcmyk(81.1%, 0%, 67.7%, 50.2%)
CIE-LABlab(46.35, -46.36, 37.58)
CIE-LCHlch(46.35, 59.67, 140.97°)
OKLaboklab(52.23% -0.125 0.0871)
OKLCHoklch(52.23% 0.152 145.1)
XYZxyz(8.3657, 15.5320, 4.6545)
Luminance0.1553 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F29 #7F186E
analogous
#3B7F18 #187F29 #187F5D
triadic
#187F29 #29187F #7F2918
tetradic
#187F29 #183B7F #7F186E #7F5D18
square
#187F29 #183B7F #7F186E #7F5D18
split-complementary
#187F29 #5D187F #7F183B
monochromatic
#051A08 #0E4C18 #187F29 #22B23A #38D953

Accessibility & contrast

On white

5.11
#187F29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#187F29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187F29
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187F29#FFFFFF#000000##FFFFFF
##187F291.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81731E
Deuteranopia (green-blind)
#766B31
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #187f29;
/* rgb */ color: rgb(24, 127, 41);
/* oklch */ color: oklch(52.2% 0.152 145.1);
Tailwind
colors: {
  custom: {
    50: '#69a567',
    500: '#187f29',
    950: '#000000',
  },
}
SCSS
$custom: #187f29;
$custom-light: #69a567;
$custom-dark: #000000;
JSON
{
  "hex": "#187f29",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 41
  },
  "hsl": {
    "h": 129.903,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52225,
    "c": 0.15241,
    "h": 145.1
  },
  "luminance": 0.15533
}

Semantic roles & 50–950 ramp

primary
#187F29
secondary
#B33FA0
accent
#3DCEEB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #187F29

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

Preview Lab → · Contrast checker → · Palette generator →

#187F29 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva