#1F9757#1F9757

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

Color values

HEX#1F9757
RGBrgb(31, 151, 87)
HSLhsl(148, 66%, 36%)
HSVhsv(148, 79%, 59%)
CMYKcmyk(79.5%, 0%, 42.4%, 40.8%)
CIE-LABlab(55.19, -46.93, 24.83)
CIE-LCHlch(55.19, 53.09, 152.11°)
OKLaboklab(59.77% -0.1263 0.0616)
OKLCHoklch(59.77% 0.141 154)
XYZxyz(13.3507, 23.1110, 12.7722)
Luminance0.2311 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9757 #971F5F
analogous
#23971F #1F9757 #1F9793
triadic
#1F9757 #571F97 #97571F
tetradic
#1F9757 #1F2397 #971F5F #97931F
square
#1F9757 #1F2397 #971F5F #97931F
split-complementary
#1F9757 #931F97 #971F23
monochromatic
#0A311C #15643A #1F9757 #29CA74 #54DC94

Accessibility & contrast

On white

3.73
#1F9757 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F9757#FFFFFF#000000##000000
##1F97571.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f9757;
/* rgb */ color: rgb(31, 151, 87);
/* oklch */ color: oklch(59.8% 0.141 154.0);
Tailwind
colors: {
  custom: {
    50: '#6fb787',
    500: '#1f9757',
    950: '#000000',
  },
}
SCSS
$custom: #1f9757;
$custom-light: #6fb787;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9757",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 87
  },
  "hsl": {
    "h": 148,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59773,
    "c": 0.14052,
    "h": 154
  },
  "luminance": 0.23113
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F9757

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

Preview Lab → · Contrast checker → · Palette generator →

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