#1F9732#1F9732

#1F9732 is a mid, vivid green. Relative luminance 0.227; OKLCH L 59.2% C 0.173 H 145.0°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#1F9732
RGBrgb(31, 151, 50)
HSLhsl(130, 66%, 36%)
HSVhsv(130, 79%, 59%)
CMYKcmyk(79.5%, 0%, 66.9%, 40.8%)
CIE-LABlab(54.71, -52.54, 42.78)
CIE-LCHlch(54.71, 67.75, 140.84°)
OKLaboklab(59.23% -0.1417 0.0991)
OKLCHoklch(59.23% 0.173 145)
XYZxyz(12.2065, 22.6534, 6.7462)
Luminance0.2266 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9732 #971F84
analogous
#48971F #1F9732 #1F976E
triadic
#1F9732 #321F97 #97321F
tetradic
#1F9732 #1F4897 #971F84 #976E1F
square
#1F9732 #1F4897 #971F84 #976E1F
split-complementary
#1F9732 #6E1F97 #971F48
monochromatic
#0A3110 #156421 #1F9732 #29CA43 #54DC6A

Accessibility & contrast

On white

3.80
#1F9732 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#1F9732 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9732
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9732#FFFFFF#000000##000000
##1F97321.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8825
Deuteranopia (green-blind)
#8C7F3B
Tritanopia (blue-blind)
#009382
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #1f9732;
/* rgb */ color: rgb(31, 151, 50);
/* oklch */ color: oklch(59.2% 0.173 145.0);
Tailwind
colors: {
  custom: {
    50: '#71b76f',
    500: '#1f9732',
    950: '#000000',
  },
}
SCSS
$custom: #1f9732;
$custom-light: #71b76f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9732",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 50
  },
  "hsl": {
    "h": 129.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59228,
    "c": 0.17297,
    "h": 145
  },
  "luminance": 0.22655
}

Semantic roles & 50–950 ramp

primary
#1F9732
secondary
#BF52AE
accent
#3FCEE9
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #1F9732

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

Preview Lab → · Contrast checker → · Palette generator →

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