#1F974E#1F974E

#1F974E is a mid, vivid green. Relative luminance 0.230; OKLCH L 59.6% C 0.149 H 151.1°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#1F974E
RGBrgb(31, 151, 78)
HSLhsl(144, 66%, 36%)
HSVhsv(144, 79%, 59%)
CMYKcmyk(79.5%, 0%, 48.3%, 40.8%)
CIE-LABlab(55.04, -48.57, 29.47)
CIE-LCHlch(55.04, 56.81, 148.75°)
OKLaboklab(59.61% -0.1305 0.072)
OKLCHoklch(59.61% 0.149 151.1)
XYZxyz(13.0057, 22.9730, 10.9550)
Luminance0.2298 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F974E #971F68
analogous
#2C971F #1F974E #1F978A
triadic
#1F974E #4E1F97 #974E1F
tetradic
#1F974E #1F2C97 #971F68 #978A1F
square
#1F974E #1F2C97 #971F68 #978A1F
split-complementary
#1F974E #8A1F97 #971F2C
monochromatic
#0A311A #156434 #1F974E #29CA68 #54DC8A

Accessibility & contrast

On white

3.75
#1F974E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#1F974E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F974E
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F974E#FFFFFF#000000##000000
##1F974E1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#988A48
Deuteranopia (green-blind)
#8A8053
Tritanopia (blue-blind)
#009486
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #1f974e;
/* rgb */ color: rgb(31, 151, 78);
/* oklch */ color: oklch(59.6% 0.149 151.1);
Tailwind
colors: {
  custom: {
    50: '#70b781',
    500: '#1f974e',
    950: '#000000',
  },
}
SCSS
$custom: #1f974e;
$custom-light: #70b781;
$custom-dark: #000000;
JSON
{
  "hex": "#1f974e",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 78
  },
  "hsl": {
    "h": 143.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.5961,
    "c": 0.14904,
    "h": 151.1
  },
  "luminance": 0.22975
}

Semantic roles & 50–950 ramp

primary
#1F974E
secondary
#BF5295
accent
#3FA6E9
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #1F974E

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

Preview Lab → · Contrast checker → · Palette generator →

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