#1F962B#1F962B

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

Color values

HEX#1F962B
RGBrgb(31, 150, 43)
HSLhsl(126, 66%, 35%)
HSVhsv(126, 79%, 59%)
CMYKcmyk(79.3%, 0%, 71.3%, 41.2%)
CIE-LABlab(54.32, -52.92, 45.31)
CIE-LCHlch(54.32, 69.67, 139.43°)
OKLaboklab(58.88% -0.1431 0.1037)
OKLCHoklch(58.88% 0.177 144.1)
XYZxyz(11.9067, 22.2770, 5.9574)
Luminance0.2228 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F962B #961F8A
analogous
#4F961F #1F962B #1F9666
triadic
#1F962B #2B1F96 #962B1F
tetradic
#1F962B #1F4F96 #961F8A #96661F
square
#1F962B #1F4F96 #961F8A #96661F
split-complementary
#1F962B #661F96 #961F4F
monochromatic
#0A310E #15631C #1F962B #29C93A #54DC61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F962B#FFFFFF#000000##000000
##1F962B1.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)
#99871B
Deuteranopia (green-blind)
#8C7E36
Tritanopia (blue-blind)
#009281
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #1f962b;
/* rgb */ color: rgb(31, 150, 43);
/* oklch */ color: oklch(58.9% 0.177 144.1);
Tailwind
colors: {
  custom: {
    50: '#71b66a',
    500: '#1f962b',
    950: '#000000',
  },
}
SCSS
$custom: #1f962b;
$custom-light: #71b66a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f962b",
  "rgb": {
    "r": 31,
    "g": 150,
    "b": 43
  },
  "hsl": {
    "h": 126.05,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58882,
    "c": 0.17669,
    "h": 144.1
  },
  "luminance": 0.22278
}

Semantic roles & 50–950 ramp

primary
#1F962B
secondary
#BF52B4
accent
#3FD8E9
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #1F962B

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

Preview Lab → · Contrast checker → · Palette generator →

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