#1F852D#1F852D

#1F852D is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.1% C 0.155 H 144.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#1F852D
RGBrgb(31, 133, 45)
HSLhsl(128, 62%, 32%)
HSVhsv(128, 77%, 52%)
CMYKcmyk(76.7%, 0%, 66.2%, 47.8%)
CIE-LABlab(48.58, -46.93, 38.25)
CIE-LCHlch(48.58, 60.54, 140.82°)
OKLaboklab(54.12% -0.1267 0.089)
OKLCHoklch(54.12% 0.155 144.9)
XYZxyz(9.4256, 17.2547, 5.3159)
Luminance0.1726 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F852D #851F77
analogous
#44851F #1F852D #1F8560
triadic
#1F852D #2D1F85 #852D1F
tetradic
#1F852D #1F4485 #851F77 #85601F
square
#1F852D #1F4485 #851F77 #85601F
split-complementary
#1F852D #601F85 #851F44
monochromatic
#08220B #13531C #1F852D #2BB73E #4AD55D

Accessibility & contrast

On white

4.72
#1F852D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#1F852D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F852D
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F852D#FFFFFF#000000##FFFFFF
##1F852D1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877822
Deuteranopia (green-blind)
#7C7035
Tritanopia (blue-blind)
#008173
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1f852d;
/* rgb */ color: rgb(31, 133, 45);
/* oklch */ color: oklch(54.1% 0.155 144.9);
Tailwind
colors: {
  custom: {
    50: '#6caa6a',
    500: '#1f852d',
    950: '#000000',
  },
}
SCSS
$custom: #1f852d;
$custom-light: #6caa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f852d",
  "rgb": {
    "r": 31,
    "g": 133,
    "b": 45
  },
  "hsl": {
    "h": 128.235,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54121,
    "c": 0.15483,
    "h": 144.9
  },
  "luminance": 0.17256
}

Semantic roles & 50–950 ramp

primary
#1F852D
secondary
#B749A8
accent
#43CFE5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1F852D

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

Preview Lab → · Contrast checker → · Palette generator →

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