#1F9932#1F9932

#1F9932 is a mid, vivid green. Relative luminance 0.233; OKLCH L 59.8% C 0.175 H 145.0°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#1F9932
RGBrgb(31, 153, 50)
HSLhsl(129, 66%, 36%)
HSVhsv(129, 80%, 60%)
CMYKcmyk(79.7%, 0%, 67.3%, 40%)
CIE-LABlab(55.38, -53.20, 43.51)
CIE-LCHlch(55.38, 68.73, 140.72°)
OKLaboklab(59.78% -0.1436 0.1007)
OKLCHoklch(59.78% 0.175 145)
XYZxyz(12.5311, 23.3026, 6.8544)
Luminance0.2330 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9932 #991F86
analogous
#49991F #1F9932 #1F996F
triadic
#1F9932 #321F99 #99321F
tetradic
#1F9932 #1F4999 #991F86 #996F1F
square
#1F9932 #1F4999 #991F86 #996F1F
split-complementary
#1F9932 #6F1F99 #991F49
monochromatic
#0A3311 #156621 #1F9932 #29CC43 #56DD6B

Accessibility & contrast

On white

3.71
#1F9932 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#1F9932 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9932
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9932#FFFFFF#000000##000000
##1F99321.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A25
Deuteranopia (green-blind)
#8E813B
Tritanopia (blue-blind)
#009584
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #1f9932;
/* rgb */ color: rgb(31, 153, 50);
/* oklch */ color: oklch(59.8% 0.175 145.0);
Tailwind
colors: {
  custom: {
    50: '#71b86f',
    500: '#1f9932',
    950: '#000000',
  },
}
SCSS
$custom: #1f9932;
$custom-light: #71b86f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9932",
  "rgb": {
    "r": 31,
    "g": 153,
    "b": 50
  },
  "hsl": {
    "h": 129.344,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59784,
    "c": 0.17535,
    "h": 145
  },
  "luminance": 0.23304
}

Semantic roles & 50–950 ramp

primary
#1F9932
secondary
#C054AF
accent
#3FCFE9
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #1F9932

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

Preview Lab → · Contrast checker → · Palette generator →

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