#1F951F#1F951F

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

Color values

HEX#1F951F
RGBrgb(31, 149, 31)
HSLhsl(120, 66%, 35%)
HSVhsv(120, 79%, 58%)
CMYKcmyk(79.2%, 0%, 79.2%, 41.6%)
CIE-LABlab(53.90, -53.59, 49.33)
CIE-LCHlch(53.90, 72.84, 137.37°)
OKLaboklab(58.51% -0.1454 0.1104)
OKLCHoklch(58.51% 0.183 142.8)
XYZxyz(11.5591, 21.8838, 4.9108)
Luminance0.2188 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F951F #951F95
analogous
#5A951F #1F951F #1F955A
triadic
#1F951F #1F1F95 #951F1F
tetradic
#1F951F #1F5A95 #951F95 #955A1F
square
#1F951F #1F5A95 #951F95 #955A1F
split-complementary
#1F951F #5A1F95 #951F5A
monochromatic
#0A300A #146214 #1F951F #2AC82A #53DB53

Accessibility & contrast

On white

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

On black

5.38
#1F951F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F951F
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F951F#FFFFFF#000000##000000
##1F951F1.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f951f;
/* rgb */ color: rgb(31, 149, 31);
/* oklch */ color: oklch(58.5% 0.183 142.8);
Tailwind
colors: {
  custom: {
    50: '#71b564',
    500: '#1f951f',
    950: '#000000',
  },
}
SCSS
$custom: #1f951f;
$custom-light: #71b564;
$custom-dark: #000000;
JSON
{
  "hex": "#1f951f",
  "rgb": {
    "r": 31,
    "g": 149,
    "b": 31
  },
  "hsl": {
    "h": 120,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.5851,
    "c": 0.18262,
    "h": 142.8
  },
  "luminance": 0.21885
}

Semantic roles & 50–950 ramp

primary
#1F951F
secondary
#BF51BF
accent
#3FE9E9
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1F951F

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

Preview Lab → · Contrast checker → · Palette generator →

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