#1F9934#1F9934

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

Color values

HEX#1F9934
RGBrgb(31, 153, 52)
HSLhsl(130, 66%, 36%)
HSVhsv(130, 80%, 60%)
CMYKcmyk(79.7%, 0%, 66%, 40%)
CIE-LABlab(55.40, -52.98, 42.66)
CIE-LCHlch(55.40, 68.02, 141.16°)
OKLaboklab(59.8% -0.1429 0.0991)
OKLCHoklch(59.8% 0.174 145.3)
XYZxyz(12.5752, 23.3202, 7.0866)
Luminance0.2332 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9934 #991F84
analogous
#47991F #1F9934 #1F9971
triadic
#1F9934 #341F99 #99341F
tetradic
#1F9934 #1F4799 #991F84 #99711F
square
#1F9934 #1F4799 #991F84 #99711F
split-complementary
#1F9934 #711F99 #991F47
monochromatic
#0A3311 #156623 #1F9934 #29CC45 #56DD6D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F9934#FFFFFF#000000##000000
##1F99341.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)
#9C8A27
Deuteranopia (green-blind)
#8E813D
Tritanopia (blue-blind)
#009584
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #1f9934;
/* rgb */ color: rgb(31, 153, 52);
/* oklch */ color: oklch(59.8% 0.174 145.3);
Tailwind
colors: {
  custom: {
    50: '#71b870',
    500: '#1f9934',
    950: '#000000',
  },
}
SCSS
$custom: #1f9934;
$custom-light: #71b870;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9934",
  "rgb": {
    "r": 31,
    "g": 153,
    "b": 52
  },
  "hsl": {
    "h": 130.328,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59804,
    "c": 0.17387,
    "h": 145.3
  },
  "luminance": 0.23322
}

Semantic roles & 50–950 ramp

primary
#1F9934
secondary
#C054AE
accent
#3FCCE9
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091108
muted
#7B807B

Preview Lab

Preview with #1F9934

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

Preview Lab → · Contrast checker → · Palette generator →

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