#1F9754#1F9754

#1F9754 is a mid, vivid green. Relative luminance 0.231; OKLCH L 59.7% C 0.143 H 153.0°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#1F9754
RGBrgb(31, 151, 84)
HSLhsl(147, 66%, 36%)
HSVhsv(147, 79%, 59%)
CMYKcmyk(79.5%, 0%, 44.4%, 40.8%)
CIE-LABlab(55.14, -47.50, 26.39)
CIE-LCHlch(55.14, 54.33, 150.94°)
OKLaboklab(59.72% -0.1277 0.0652)
OKLCHoklch(59.72% 0.143 153)
XYZxyz(13.2307, 23.0630, 12.1401)
Luminance0.2306 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9754 #971F62
analogous
#26971F #1F9754 #1F9790
triadic
#1F9754 #541F97 #97541F
tetradic
#1F9754 #1F2697 #971F62 #97901F
square
#1F9754 #1F2697 #971F62 #97901F
split-complementary
#1F9754 #901F97 #971F26
monochromatic
#0A311C #156438 #1F9754 #29CA70 #54DC90

Accessibility & contrast

On white

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

On black

5.61
#1F9754 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9754
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9754#FFFFFF#000000##000000
##1F97541.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#978A4F
Deuteranopia (green-blind)
#898059
Tritanopia (blue-blind)
#009587
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #1f9754;
/* rgb */ color: rgb(31, 151, 84);
/* oklch */ color: oklch(59.7% 0.143 153.0);
Tailwind
colors: {
  custom: {
    50: '#6fb785',
    500: '#1f9754',
    950: '#000000',
  },
}
SCSS
$custom: #1f9754;
$custom-light: #6fb785;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9754",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 84
  },
  "hsl": {
    "h": 146.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59716,
    "c": 0.14337,
    "h": 153
  },
  "luminance": 0.23065
}

Semantic roles & 50–950 ramp

primary
#1F9754
secondary
#BF528F
accent
#3F9EE9
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#09110B
muted
#7B807C

Preview Lab

Preview with #1F9754

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

Preview Lab → · Contrast checker → · Palette generator →

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