#1F982B#1F982B

#1F982B is a mid, vivid green. Relative luminance 0.229; OKLCH L 59.4% C 0.179 H 144.0°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#1F982B
RGBrgb(31, 152, 43)
HSLhsl(126, 66%, 36%)
HSVhsv(126, 80%, 60%)
CMYKcmyk(79.6%, 0%, 71.7%, 40.4%)
CIE-LABlab(54.99, -53.58, 46.02)
CIE-LCHlch(54.99, 70.63, 139.34°)
OKLaboklab(59.44% -0.1449 0.1051)
OKLCHoklch(59.44% 0.179 144)
XYZxyz(12.2285, 22.9207, 6.0647)
Luminance0.2292 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F982B #981F8C
analogous
#50981F #1F982B #1F9867
triadic
#1F982B #2B1F98 #982B1F
tetradic
#1F982B #1F5098 #981F8C #98671F
square
#1F982B #1F5098 #981F8C #98671F
split-complementary
#1F982B #671F98 #981F50
monochromatic
#0A320E #15651D #1F982B #29CB39 #55DC62

Accessibility & contrast

On white

3.76
#1F982B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#1F982B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F982B
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F982B#FFFFFF#000000##000000
##1F982B1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B891A
Deuteranopia (green-blind)
#8E8036
Tritanopia (blue-blind)
#009482
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #1f982b;
/* rgb */ color: rgb(31, 152, 43);
/* oklch */ color: oklch(59.4% 0.179 144.0);
Tailwind
colors: {
  custom: {
    50: '#71b76b',
    500: '#1f982b',
    950: '#000000',
  },
}
SCSS
$custom: #1f982b;
$custom-light: #71b76b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f982b",
  "rgb": {
    "r": 31,
    "g": 152,
    "b": 43
  },
  "hsl": {
    "h": 125.95,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59439,
    "c": 0.179,
    "h": 144
  },
  "luminance": 0.22922
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F982B

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

Preview Lab → · Contrast checker → · Palette generator →

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