#1F9832#1F9832

#1F9832 is a mid, vivid green. Relative luminance 0.230; OKLCH L 59.5% C 0.174 H 145.0°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#1F9832
RGBrgb(31, 152, 50)
HSLhsl(129, 66%, 36%)
HSVhsv(129, 80%, 60%)
CMYKcmyk(79.6%, 0%, 67.1%, 40.4%)
CIE-LABlab(55.05, -52.87, 43.15)
CIE-LCHlch(55.05, 68.24, 140.78°)
OKLaboklab(59.51% -0.1426 0.0999)
OKLCHoklch(59.51% 0.174 145)
XYZxyz(12.3682, 22.9766, 6.8001)
Luminance0.2298 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9832 #981F85
analogous
#49981F #1F9832 #1F986E
triadic
#1F9832 #321F98 #98321F
tetradic
#1F9832 #1F4998 #981F85 #986E1F
square
#1F9832 #1F4998 #981F85 #986E1F
split-complementary
#1F9832 #6E1F98 #981F49
monochromatic
#0A3211 #156521 #1F9832 #29CB43 #55DC6A

Accessibility & contrast

On white

3.75
#1F9832 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#1F9832 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9832
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9832#FFFFFF#000000##000000
##1F98321.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8925
Deuteranopia (green-blind)
#8D803B
Tritanopia (blue-blind)
#009483
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #1f9832;
/* rgb */ color: rgb(31, 152, 50);
/* oklch */ color: oklch(59.5% 0.174 145.0);
Tailwind
colors: {
  custom: {
    50: '#71b76f',
    500: '#1f9832',
    950: '#000000',
  },
}
SCSS
$custom: #1f9832;
$custom-light: #71b76f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9832",
  "rgb": {
    "r": 31,
    "g": 152,
    "b": 50
  },
  "hsl": {
    "h": 129.421,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59506,
    "c": 0.17416,
    "h": 145
  },
  "luminance": 0.22978
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F9832

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

Preview Lab → · Contrast checker → · Palette generator →

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