#1F962E#1F962E

#1F962E is a mid, vivid green. Relative luminance 0.223; OKLCH L 58.9% C 0.175 H 144.5°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#1F962E
RGBrgb(31, 150, 46)
HSLhsl(128, 66%, 35%)
HSVhsv(128, 79%, 59%)
CMYKcmyk(79.3%, 0%, 69.3%, 41.2%)
CIE-LABlab(54.34, -52.63, 44.10)
CIE-LCHlch(54.34, 68.66, 140.04°)
OKLaboklab(58.91% -0.1422 0.1015)
OKLCHoklch(58.91% 0.175 144.5)
XYZxyz(11.9637, 22.2998, 6.2580)
Luminance0.2230 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F962E #961F87
analogous
#4B961F #1F962E #1F9669
triadic
#1F962E #2E1F96 #962E1F
tetradic
#1F962E #1F4B96 #961F87 #96691F
square
#1F962E #1F4B96 #961F87 #96691F
split-complementary
#1F962E #691F96 #961F4B
monochromatic
#0A310F #15631E #1F962E #29C93E #54DC65

Accessibility & contrast

On white

3.85
#1F962E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#1F962E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F962E
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F962E#FFFFFF#000000##000000
##1F962E1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#99871F
Deuteranopia (green-blind)
#8C7E38
Tritanopia (blue-blind)
#009281
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #1f962e;
/* rgb */ color: rgb(31, 150, 46);
/* oklch */ color: oklch(58.9% 0.175 144.5);
Tailwind
colors: {
  custom: {
    50: '#71b66c',
    500: '#1f962e',
    950: '#000000',
  },
}
SCSS
$custom: #1f962e;
$custom-light: #71b66c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f962e",
  "rgb": {
    "r": 31,
    "g": 150,
    "b": 46
  },
  "hsl": {
    "h": 127.563,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58909,
    "c": 0.17465,
    "h": 144.5
  },
  "luminance": 0.22301
}

Semantic roles & 50–950 ramp

primary
#1F962E
secondary
#BF52B1
accent
#3FD3E9
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #1F962E

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

Preview Lab → · Contrast checker → · Palette generator →

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