#1F9936#1F9936

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

Color values

HEX#1F9936
RGBrgb(31, 153, 54)
HSLhsl(131, 66%, 36%)
HSVhsv(131, 80%, 60%)
CMYKcmyk(79.7%, 0%, 64.7%, 40%)
CIE-LABlab(55.42, -52.75, 41.78)
CIE-LCHlch(55.42, 67.30, 141.62°)
OKLaboklab(59.83% -0.1422 0.0974)
OKLCHoklch(59.83% 0.172 145.6)
XYZxyz(12.6212, 23.3386, 7.3289)
Luminance0.2334 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9936 #991F82
analogous
#45991F #1F9936 #1F9973
triadic
#1F9936 #361F99 #99361F
tetradic
#1F9936 #1F4599 #991F82 #99731F
square
#1F9936 #1F4599 #991F82 #99731F
split-complementary
#1F9936 #731F99 #991F45
monochromatic
#0A3312 #156624 #1F9936 #29CC48 #56DD6F

Accessibility & contrast

On white

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

On black

5.67
#1F9936 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9936
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9936#FFFFFF#000000##000000
##1F99361.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f9936;
/* rgb */ color: rgb(31, 153, 54);
/* oklch */ color: oklch(59.8% 0.172 145.6);
Tailwind
colors: {
  custom: {
    50: '#71b871',
    500: '#1f9936',
    950: '#000000',
  },
}
SCSS
$custom: #1f9936;
$custom-light: #71b871;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9936",
  "rgb": {
    "r": 31,
    "g": 153,
    "b": 54
  },
  "hsl": {
    "h": 131.311,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59826,
    "c": 0.17236,
    "h": 145.6
  },
  "luminance": 0.2334
}

Semantic roles & 50–950 ramp

primary
#1F9936
secondary
#C054AC
accent
#3FC9E9
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #1F9936

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

Preview Lab → · Contrast checker → · Palette generator →

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