#187A29#187A29

#187A29 is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.8% C 0.146 H 145.4°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#187A29
RGBrgb(24, 122, 41)
HSLhsl(130, 67%, 29%)
HSVhsv(130, 80%, 48%)
CMYKcmyk(80.3%, 0%, 66.4%, 52.2%)
CIE-LABlab(44.62, -44.61, 35.66)
CIE-LCHlch(44.62, 57.11, 141.37°)
OKLaboklab(50.79% -0.1203 0.0831)
OKLCHoklch(50.79% 0.146 145.4)
XYZxyz(7.7359, 14.2724, 4.4445)
Luminance0.1427 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A29 #7A1869
analogous
#387A18 #187A29 #187A5A
triadic
#187A29 #29187A #7A2918
tetradic
#187A29 #18387A #7A1869 #7A5A18
square
#187A29 #18387A #7A1869 #7A5A18
split-complementary
#187A29 #5A187A #7A1838
monochromatic
#051A09 #0E4718 #187A29 #22AD3A #35D751

Accessibility & contrast

On white

5.45
#187A29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#187A29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187A29
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187A29#FFFFFF#000000##FFFFFF
##187A291.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E1F
Deuteranopia (green-blind)
#716730
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #187a29;
/* rgb */ color: rgb(24, 122, 41);
/* oklch */ color: oklch(50.8% 0.146 145.4);
Tailwind
colors: {
  custom: {
    50: '#67a166',
    500: '#187a29',
    950: '#000000',
  },
}
SCSS
$custom: #187a29;
$custom-light: #67a166;
$custom-dark: #000000;
JSON
{
  "hex": "#187a29",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 41
  },
  "hsl": {
    "h": 130.408,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50786,
    "c": 0.14619,
    "h": 145.4
  },
  "luminance": 0.14273
}

Semantic roles & 50–950 ramp

primary
#187A29
secondary
#AF3F9B
accent
#3ECCEA
background
#F6FAF6
surface
#EBF3EB
border
#C6CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #187A29

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

Preview Lab → · Contrast checker → · Palette generator →

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