#1F9733#1F9733

#1F9733 is a mid, vivid green. Relative luminance 0.227; OKLCH L 59.2% C 0.172 H 145.2°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#1F9733
RGBrgb(31, 151, 51)
HSLhsl(130, 66%, 36%)
HSVhsv(130, 79%, 59%)
CMYKcmyk(79.5%, 0%, 66.2%, 40.8%)
CIE-LABlab(54.72, -52.42, 42.35)
CIE-LCHlch(54.72, 67.39, 141.07°)
OKLaboklab(59.24% -0.1414 0.0983)
OKLCHoklch(59.24% 0.172 145.2)
XYZxyz(12.2284, 22.6621, 6.8611)
Luminance0.2266 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9733 #971F83
analogous
#47971F #1F9733 #1F976F
triadic
#1F9733 #331F97 #97331F
tetradic
#1F9733 #1F4797 #971F83 #976F1F
square
#1F9733 #1F4797 #971F83 #976F1F
split-complementary
#1F9733 #6F1F97 #971F47
monochromatic
#0A3111 #156422 #1F9733 #29CA44 #54DC6B

Accessibility & contrast

On white

3.80
#1F9733 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#1F9733 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9733
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9733#FFFFFF#000000##000000
##1F97331.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8927
Deuteranopia (green-blind)
#8C7F3C
Tritanopia (blue-blind)
#009382
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #1f9733;
/* rgb */ color: rgb(31, 151, 51);
/* oklch */ color: oklch(59.2% 0.172 145.2);
Tailwind
colors: {
  custom: {
    50: '#71b76f',
    500: '#1f9733',
    950: '#000000',
  },
}
SCSS
$custom: #1f9733;
$custom-light: #71b76f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9733",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 51
  },
  "hsl": {
    "h": 130,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59238,
    "c": 0.17223,
    "h": 145.2
  },
  "luminance": 0.22664
}

Semantic roles & 50–950 ramp

primary
#1F9733
secondary
#BF52AD
accent
#3FCDE9
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091108
muted
#7B807B

Preview Lab

Preview with #1F9733

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

Preview Lab → · Contrast checker → · Palette generator →

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