#187522#187522

#187522 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.3% C 0.145 H 144.3°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#187522
RGBrgb(24, 117, 34)
HSLhsl(126, 66%, 28%)
HSVhsv(126, 79%, 46%)
CMYKcmyk(79.5%, 0%, 70.9%, 54.1%)
CIE-LABlab(42.81, -43.65, 36.86)
CIE-LCHlch(42.81, 57.13, 139.82°)
OKLaboklab(49.26% -0.118 0.0848)
OKLCHoklch(49.26% 0.145 144.3)
XYZxyz(7.0262, 13.0314, 3.6581)
Luminance0.1303 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187522 #75186B
analogous
#3C7518 #187522 #187551
triadic
#187522 #221875 #752218
tetradic
#187522 #183C75 #75186B #755118
square
#187522 #183C75 #75186B #755118
split-complementary
#187522 #511875 #75183C
monochromatic
#051907 #0E4213 #187522 #22A831 #32D544

Accessibility & contrast

On white

5.82
#187522 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#187522 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187522
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187522#FFFFFF#000000##FFFFFF
##1875221.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776916
Deuteranopia (green-blind)
#6D622A
Tritanopia (blue-blind)
#007264
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #187522;
/* rgb */ color: rgb(24, 117, 34);
/* oklch */ color: oklch(49.3% 0.145 144.3);
Tailwind
colors: {
  custom: {
    50: '#669e62',
    500: '#187522',
    950: '#000000',
  },
}
SCSS
$custom: #187522;
$custom-light: #669e62;
$custom-dark: #000000;
JSON
{
  "hex": "#187522",
  "rgb": {
    "r": 24,
    "g": 117,
    "b": 34
  },
  "hsl": {
    "h": 126.452,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49262,
    "c": 0.14531,
    "h": 144.3
  },
  "luminance": 0.13032
}

Semantic roles & 50–950 ramp

primary
#187522
secondary
#AA3F9F
accent
#3FD7E9
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #187522

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

Preview Lab → · Contrast checker → · Palette generator →

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