#1F8532#1F8532

#1F8532 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.2% C 0.151 H 145.9°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#1F8532
RGBrgb(31, 133, 50)
HSLhsl(131, 62%, 32%)
HSVhsv(131, 77%, 52%)
CMYKcmyk(76.7%, 0%, 62.4%, 47.8%)
CIE-LABlab(48.63, -46.31, 35.95)
CIE-LCHlch(48.63, 58.63, 142.18°)
OKLaboklab(54.18% -0.1249 0.0846)
OKLCHoklch(54.18% 0.151 145.9)
XYZxyz(9.5276, 17.2956, 5.8532)
Luminance0.1730 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8532 #851F72
analogous
#3F851F #1F8532 #1F8565
triadic
#1F8532 #321F85 #85321F
tetradic
#1F8532 #1F3F85 #851F72 #85651F
square
#1F8532 #1F3F85 #851F72 #85651F
split-complementary
#1F8532 #651F85 #851F3F
monochromatic
#08220D #13531F #1F8532 #2BB745 #4AD564

Accessibility & contrast

On white

4.71
#1F8532 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#1F8532 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8532
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8532#FFFFFF#000000##FFFFFF
##1F85321.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877829
Deuteranopia (green-blind)
#7B7039
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1f8532;
/* rgb */ color: rgb(31, 133, 50);
/* oklch */ color: oklch(54.2% 0.151 145.9);
Tailwind
colors: {
  custom: {
    50: '#6ca96d',
    500: '#1f8532',
    950: '#000000',
  },
}
SCSS
$custom: #1f8532;
$custom-light: #6ca96d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8532",
  "rgb": {
    "r": 31,
    "g": 133,
    "b": 50
  },
  "hsl": {
    "h": 131.176,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54179,
    "c": 0.1508,
    "h": 145.9
  },
  "luminance": 0.17297
}

Semantic roles & 50–950 ramp

primary
#1F8532
secondary
#B749A3
accent
#43C7E5
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1F8532

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

Preview Lab → · Contrast checker → · Palette generator →

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