#1F9935#1F9935

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

Color values

HEX#1F9935
RGBrgb(31, 153, 53)
HSLhsl(131, 66%, 36%)
HSVhsv(131, 80%, 60%)
CMYKcmyk(79.7%, 0%, 65.4%, 40%)
CIE-LABlab(55.41, -52.87, 42.22)
CIE-LCHlch(55.41, 67.66, 141.39°)
OKLaboklab(59.82% -0.1425 0.0983)
OKLCHoklch(59.82% 0.173 145.4)
XYZxyz(12.5980, 23.3293, 7.2065)
Luminance0.2333 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9935 #991F83
analogous
#46991F #1F9935 #1F9972
triadic
#1F9935 #351F99 #99351F
tetradic
#1F9935 #1F4699 #991F83 #99721F
square
#1F9935 #1F4699 #991F83 #99721F
split-complementary
#1F9935 #721F99 #991F46
monochromatic
#0A3312 #156623 #1F9935 #29CC47 #56DD6E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F9935#FFFFFF#000000##000000
##1F99351.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)
#9B8A29
Deuteranopia (green-blind)
#8E813E
Tritanopia (blue-blind)
#009584
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #1f9935;
/* rgb */ color: rgb(31, 153, 53);
/* oklch */ color: oklch(59.8% 0.173 145.4);
Tailwind
colors: {
  custom: {
    50: '#71b871',
    500: '#1f9935',
    950: '#000000',
  },
}
SCSS
$custom: #1f9935;
$custom-light: #71b871;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9935",
  "rgb": {
    "r": 31,
    "g": 153,
    "b": 53
  },
  "hsl": {
    "h": 130.82,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59815,
    "c": 0.17312,
    "h": 145.4
  },
  "luminance": 0.23331
}

Semantic roles & 50–950 ramp

primary
#1F9935
secondary
#C054AD
accent
#3FCAE9
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #1F9935

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

Preview Lab → · Contrast checker → · Palette generator →

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