#1F982C#1F982C

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

Color values

HEX#1F982C
RGBrgb(31, 152, 44)
HSLhsl(126, 66%, 36%)
HSVhsv(126, 80%, 60%)
CMYKcmyk(79.6%, 0%, 71.1%, 40.4%)
CIE-LABlab(55.00, -53.48, 45.62)
CIE-LCHlch(55.00, 70.30, 139.54°)
OKLaboklab(59.45% -0.1446 0.1044)
OKLCHoklch(59.45% 0.178 144.2)
XYZxyz(12.2471, 22.9282, 6.1625)
Luminance0.2293 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F982C #981F8B
analogous
#4E981F #1F982C #1F9868
triadic
#1F982C #2C1F98 #982C1F
tetradic
#1F982C #1F4E98 #981F8B #98681F
square
#1F982C #1F4E98 #981F8B #98681F
split-complementary
#1F982C #681F98 #981F4E
monochromatic
#0A320F #15651D #1F982C #29CB3B #55DC64

Accessibility & contrast

On white

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

On black

5.59
#1F982C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F982C
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F982C#FFFFFF#000000##000000
##1F982C1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f982c;
/* rgb */ color: rgb(31, 152, 44);
/* oklch */ color: oklch(59.4% 0.178 144.2);
Tailwind
colors: {
  custom: {
    50: '#71b76b',
    500: '#1f982c',
    950: '#000000',
  },
}
SCSS
$custom: #1f982c;
$custom-light: #71b76b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f982c",
  "rgb": {
    "r": 31,
    "g": 152,
    "b": 44
  },
  "hsl": {
    "h": 126.446,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59448,
    "c": 0.17834,
    "h": 144.2
  },
  "luminance": 0.2293
}

Semantic roles & 50–950 ramp

primary
#1F982C
secondary
#C053B4
accent
#3FD7E9
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #1F982C

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

Preview Lab → · Contrast checker → · Palette generator →

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