#1F9756#1F9756

#1F9756 is a mid, vivid green. Relative luminance 0.231; OKLCH L 59.8% C 0.141 H 153.6°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#1F9756
RGBrgb(31, 151, 86)
HSLhsl(148, 66%, 36%)
HSVhsv(148, 79%, 59%)
CMYKcmyk(79.5%, 0%, 43%, 40.8%)
CIE-LABlab(55.17, -47.12, 25.35)
CIE-LCHlch(55.17, 53.51, 151.72°)
OKLaboklab(59.75% -0.1268 0.0628)
OKLCHoklch(59.75% 0.141 153.6)
XYZxyz(13.3102, 23.0948, 12.5585)
Luminance0.2310 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9756 #971F60
analogous
#24971F #1F9756 #1F9792
triadic
#1F9756 #561F97 #97561F
tetradic
#1F9756 #1F2497 #971F60 #97921F
square
#1F9756 #1F2497 #971F60 #97921F
split-complementary
#1F9756 #921F97 #971F24
monochromatic
#0A311C #156439 #1F9756 #29CA73 #54DC93

Accessibility & contrast

On white

3.74
#1F9756 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#1F9756 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9756
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9756#FFFFFF#000000##000000
##1F97561.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#978A51
Deuteranopia (green-blind)
#89805A
Tritanopia (blue-blind)
#009587
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #1f9756;
/* rgb */ color: rgb(31, 151, 86);
/* oklch */ color: oklch(59.8% 0.141 153.6);
Tailwind
colors: {
  custom: {
    50: '#6fb786',
    500: '#1f9756',
    950: '#000000',
  },
}
SCSS
$custom: #1f9756;
$custom-light: #6fb786;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9756",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 86
  },
  "hsl": {
    "h": 147.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59754,
    "c": 0.14147,
    "h": 153.6
  },
  "luminance": 0.23096
}

Semantic roles & 50–950 ramp

primary
#1F9756
secondary
#BF528D
accent
#3F9BE9
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#09110B
muted
#7B807C

Preview Lab

Preview with #1F9756

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

Preview Lab → · Contrast checker → · Palette generator →

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