#1F964E#1F964E

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

Color values

HEX#1F964E
RGBrgb(31, 150, 78)
HSLhsl(144, 66%, 35%)
HSVhsv(144, 79%, 59%)
CMYKcmyk(79.3%, 0%, 48%, 41.2%)
CIE-LABlab(54.71, -48.21, 29.05)
CIE-LCHlch(54.71, 56.28, 148.93°)
OKLaboklab(59.34% -0.1295 0.0711)
OKLCHoklch(59.34% 0.148 151.2)
XYZxyz(12.8454, 22.6525, 10.9016)
Luminance0.2265 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F964E #961F67
analogous
#2C961F #1F964E #1F9689
triadic
#1F964E #4E1F96 #964E1F
tetradic
#1F964E #1F2C96 #961F67 #96891F
square
#1F964E #1F2C96 #961F67 #96891F
split-complementary
#1F964E #891F96 #961F2C
monochromatic
#0A3119 #156334 #1F964E #29C968 #54DC89

Accessibility & contrast

On white

3.80
#1F964E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F964E#FFFFFF#000000##000000
##1F964E1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#978948
Deuteranopia (green-blind)
#897F53
Tritanopia (blue-blind)
#009485
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #1f964e;
/* rgb */ color: rgb(31, 150, 78);
/* oklch */ color: oklch(59.3% 0.148 151.2);
Tailwind
colors: {
  custom: {
    50: '#6fb681',
    500: '#1f964e',
    950: '#000000',
  },
}
SCSS
$custom: #1f964e;
$custom-light: #6fb681;
$custom-dark: #000000;
JSON
{
  "hex": "#1f964e",
  "rgb": {
    "r": 31,
    "g": 150,
    "b": 78
  },
  "hsl": {
    "h": 143.697,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59335,
    "c": 0.14772,
    "h": 151.2
  },
  "luminance": 0.22654
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F964E

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

Preview Lab → · Contrast checker → · Palette generator →

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