#1F951E#1F951E

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

Color values

HEX#1F951E
RGBrgb(31, 149, 30)
HSLhsl(119, 66%, 35%)
HSVhsv(119, 80%, 58%)
CMYKcmyk(79.2%, 0%, 79.9%, 41.6%)
CIE-LABlab(53.90, -53.65, 49.65)
CIE-LCHlch(53.90, 73.11, 137.22°)
OKLaboklab(58.5% -0.1457 0.111)
OKLCHoklch(58.5% 0.183 142.7)
XYZxyz(11.5461, 21.8786, 4.8425)
Luminance0.2188 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F951E #941E95
analogous
#5A951E #1F951E #1E9559
triadic
#1F951E #1E1F95 #951E1F
tetradic
#1F951E #1E5A95 #941E95 #95591E
square
#1F951E #1E5A95 #941E95 #95591E
split-complementary
#1F951E #591E95 #951E5A
monochromatic
#0A2F09 #146214 #1F951E #2AC828 #53DC51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F951E#FFFFFF#000000##000000
##1F951E1.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)
#8C7D2C
Tritanopia (blue-blind)
#00907F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #1f951e;
/* rgb */ color: rgb(31, 149, 30);
/* oklch */ color: oklch(58.5% 0.183 142.7);
Tailwind
colors: {
  custom: {
    50: '#71b564',
    500: '#1f951e',
    950: '#000000',
  },
}
SCSS
$custom: #1f951e;
$custom-light: #71b564;
$custom-dark: #000000;
JSON
{
  "hex": "#1f951e",
  "rgb": {
    "r": 31,
    "g": 149,
    "b": 30
  },
  "hsl": {
    "h": 119.496,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58504,
    "c": 0.18313,
    "h": 142.7
  },
  "luminance": 0.2188
}

Semantic roles & 50–950 ramp

primary
#1F951E
secondary
#BE50BF
accent
#3EE9E8
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1F951E

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

Preview Lab → · Contrast checker → · Palette generator →

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