#1F9734#1F9734

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

Color values

HEX#1F9734
RGBrgb(31, 151, 52)
HSLhsl(131, 66%, 36%)
HSVhsv(131, 79%, 59%)
CMYKcmyk(79.5%, 0%, 65.6%, 40.8%)
CIE-LABlab(54.73, -52.31, 41.91)
CIE-LCHlch(54.73, 67.03, 141.30°)
OKLaboklab(59.25% -0.141 0.0975)
OKLCHoklch(59.25% 0.171 145.3)
XYZxyz(12.2506, 22.6710, 6.9784)
Luminance0.2267 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9734 #971F82
analogous
#46971F #1F9734 #1F9770
triadic
#1F9734 #341F97 #97341F
tetradic
#1F9734 #1F4697 #971F82 #97701F
square
#1F9734 #1F4697 #971F82 #97701F
split-complementary
#1F9734 #701F97 #971F46
monochromatic
#0A3111 #156423 #1F9734 #29CA45 #54DC6C

Accessibility & contrast

On white

3.79
#1F9734 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F9734#FFFFFF#000000##000000
##1F97341.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#998928
Deuteranopia (green-blind)
#8C7F3D
Tritanopia (blue-blind)
#009382
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #1f9734;
/* rgb */ color: rgb(31, 151, 52);
/* oklch */ color: oklch(59.2% 0.171 145.3);
Tailwind
colors: {
  custom: {
    50: '#71b770',
    500: '#1f9734',
    950: '#000000',
  },
}
SCSS
$custom: #1f9734;
$custom-light: #71b770;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9734",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 52
  },
  "hsl": {
    "h": 130.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59249,
    "c": 0.17147,
    "h": 145.3
  },
  "luminance": 0.22672
}

Semantic roles & 50–950 ramp

primary
#1F9734
secondary
#BF52AC
accent
#3FCBE9
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091108
muted
#7B807B

Preview Lab

Preview with #1F9734

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

Preview Lab → · Contrast checker → · Palette generator →

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