#1F951D#1F951D

#1F951D is a mid, vivid green. Relative luminance 0.219; OKLCH L 58.5% C 0.184 H 142.6°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#1F951D
RGBrgb(31, 149, 29)
HSLhsl(119, 67%, 35%)
HSVhsv(119, 81%, 58%)
CMYKcmyk(79.2%, 0%, 80.5%, 41.6%)
CIE-LABlab(53.89, -53.72, 49.97)
CIE-LCHlch(53.89, 73.37, 137.07°)
OKLaboklab(58.5% -0.1459 0.1115)
OKLCHoklch(58.5% 0.184 142.6)
XYZxyz(11.5336, 21.8735, 4.7763)
Luminance0.2188 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F951D #931D95
analogous
#5B951D #1F951D #1D9557
triadic
#1F951D #1D1F95 #951D1F
tetradic
#1F951D #1D5B95 #931D95 #95571D
square
#1F951D #1D5B95 #931D95 #95571D
split-complementary
#1F951D #571D95 #951D5B
monochromatic
#0A2F09 #146213 #1F951D #2AC827 #52DD50

Accessibility & contrast

On white

3.91
#1F951D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#1F951D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F951D
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F951D#FFFFFF#000000##000000
##1F951D1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#8C7D2B
Tritanopia (blue-blind)
#00907F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #1f951d;
/* rgb */ color: rgb(31, 149, 29);
/* oklch */ color: oklch(58.5% 0.184 142.6);
Tailwind
colors: {
  custom: {
    50: '#71b563',
    500: '#1f951d',
    950: '#000000',
  },
}
SCSS
$custom: #1f951d;
$custom-light: #71b563;
$custom-dark: #000000;
JSON
{
  "hex": "#1f951d",
  "rgb": {
    "r": 31,
    "g": 149,
    "b": 29
  },
  "hsl": {
    "h": 119,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58498,
    "c": 0.18361,
    "h": 142.6
  },
  "luminance": 0.21875
}

Semantic roles & 50–950 ramp

primary
#1F951D
secondary
#BE4EC0
accent
#3DEAE7
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1F951D

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

Preview Lab → · Contrast checker → · Palette generator →

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