#1F9931#1F9931

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

Color values

HEX#1F9931
RGBrgb(31, 153, 49)
HSLhsl(129, 66%, 36%)
HSVhsv(129, 80%, 60%)
CMYKcmyk(79.7%, 0%, 68%, 40%)
CIE-LABlab(55.37, -53.31, 43.93)
CIE-LCHlch(55.37, 69.08, 140.51°)
OKLaboklab(59.77% -0.1439 0.1015)
OKLCHoklch(59.77% 0.176 144.8)
XYZxyz(12.5098, 23.2940, 6.7420)
Luminance0.2330 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9931 #991F87
analogous
#4A991F #1F9931 #1F996E
triadic
#1F9931 #311F99 #99311F
tetradic
#1F9931 #1F4A99 #991F87 #996E1F
square
#1F9931 #1F4A99 #991F87 #996E1F
split-complementary
#1F9931 #6E1F99 #991F4A
monochromatic
#0A3310 #156621 #1F9931 #29CC41 #56DD6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F9931#FFFFFF#000000##000000
##1F99311.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)
#9C8A23
Deuteranopia (green-blind)
#8E813B
Tritanopia (blue-blind)
#009584
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #1f9931;
/* rgb */ color: rgb(31, 153, 49);
/* oklch */ color: oklch(59.8% 0.176 144.8);
Tailwind
colors: {
  custom: {
    50: '#71b86e',
    500: '#1f9931',
    950: '#000000',
  },
}
SCSS
$custom: #1f9931;
$custom-light: #71b86e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9931",
  "rgb": {
    "r": 31,
    "g": 153,
    "b": 49
  },
  "hsl": {
    "h": 128.852,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59774,
    "c": 0.17606,
    "h": 144.8
  },
  "luminance": 0.23296
}

Semantic roles & 50–950 ramp

primary
#1F9931
secondary
#C054B0
accent
#3FD0E9
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #1F9931

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

Preview Lab → · Contrast checker → · Palette generator →

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