#1F982D#1F982D

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

Color values

HEX#1F982D
RGBrgb(31, 152, 45)
HSLhsl(127, 66%, 36%)
HSVhsv(127, 80%, 60%)
CMYKcmyk(79.6%, 0%, 70.4%, 40.4%)
CIE-LABlab(55.01, -53.39, 45.22)
CIE-LCHlch(55.01, 69.97, 139.73°)
OKLaboklab(59.46% -0.1443 0.1037)
OKLCHoklch(59.46% 0.178 144.3)
XYZxyz(12.2661, 22.9358, 6.2627)
Luminance0.2294 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F982D #981F8A
analogous
#4D981F #1F982D #1F9869
triadic
#1F982D #2D1F98 #982D1F
tetradic
#1F982D #1F4D98 #981F8A #98691F
square
#1F982D #1F4D98 #981F8A #98691F
split-complementary
#1F982D #691F98 #981F4D
monochromatic
#0A320F #15651E #1F982D #29CB3C #55DC65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F982D#FFFFFF#000000##000000
##1F982D1.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)
#9B891D
Deuteranopia (green-blind)
#8E8037
Tritanopia (blue-blind)
#009483
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #1f982d;
/* rgb */ color: rgb(31, 152, 45);
/* oklch */ color: oklch(59.5% 0.178 144.3);
Tailwind
colors: {
  custom: {
    50: '#71b76c',
    500: '#1f982d',
    950: '#000000',
  },
}
SCSS
$custom: #1f982d;
$custom-light: #71b76c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f982d",
  "rgb": {
    "r": 31,
    "g": 152,
    "b": 45
  },
  "hsl": {
    "h": 126.942,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59457,
    "c": 0.17767,
    "h": 144.3
  },
  "luminance": 0.22937
}

Semantic roles & 50–950 ramp

primary
#1F982D
secondary
#C053B3
accent
#3FD5E9
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #1F982D

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

Preview Lab → · Contrast checker → · Palette generator →

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