#1F8752#1F8752

#1F8752 is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.3% C 0.124 H 155.6°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#1F8752
RGBrgb(31, 135, 82)
HSLhsl(149, 63%, 33%)
HSVhsv(149, 77%, 53%)
CMYKcmyk(77%, 0%, 39.3%, 47.1%)
CIE-LABlab(49.77, -41.68, 20.44)
CIE-LCHlch(49.77, 46.43, 153.88°)
OKLaboklab(55.27% -0.1125 0.0511)
OKLCHoklch(55.27% 0.124 155.6)
XYZxyz(10.7510, 18.2272, 10.9326)
Luminance0.1823 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8752 #871F54
analogous
#20871F #1F8752 #1F8786
triadic
#1F8752 #521F87 #87521F
tetradic
#1F8752 #1F2087 #871F54 #87861F
square
#1F8752 #1F2087 #871F54 #87861F
split-complementary
#1F8752 #861F87 #871F20
monochromatic
#082316 #145534 #1F8752 #2AB970 #4BD68F

Accessibility & contrast

On white

4.52
#1F8752 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#1F8752 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8752
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8752#FFFFFF#000000##000000
##1F87521.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#867C4E
Deuteranopia (green-blind)
#7A7356
Tritanopia (blue-blind)
#00867A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #1f8752;
/* rgb */ color: rgb(31, 135, 82);
/* oklch */ color: oklch(55.3% 0.124 155.6);
Tailwind
colors: {
  custom: {
    50: '#6cab83',
    500: '#1f8752',
    950: '#000000',
  },
}
SCSS
$custom: #1f8752;
$custom-light: #6cab83;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8752",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 82
  },
  "hsl": {
    "h": 149.423,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55273,
    "c": 0.12357,
    "h": 155.6
  },
  "luminance": 0.18228
}

Semantic roles & 50–950 ramp

primary
#1F8752
secondary
#B84A82
accent
#4295E6
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#08100A
muted
#7A7F7C

Preview Lab

Preview with #1F8752

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

Preview Lab → · Contrast checker → · Palette generator →

#1F8752 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva