#1F951C#1F951C

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

Color values

HEX#1F951C
RGBrgb(31, 149, 28)
HSLhsl(119, 68%, 35%)
HSVhsv(119, 81%, 58%)
CMYKcmyk(79.2%, 0%, 81.2%, 41.6%)
CIE-LABlab(53.89, -53.79, 50.28)
CIE-LCHlch(53.89, 73.63, 136.93°)
OKLaboklab(58.49% -0.1461 0.112)
OKLCHoklch(58.49% 0.184 142.5)
XYZxyz(11.5214, 21.8687, 4.7122)
Luminance0.2187 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F951C #921C95
analogous
#5C951C #1F951C #1C9555
triadic
#1F951C #1C1F95 #951C1F
tetradic
#1F951C #1C5C95 #921C95 #95551C
square
#1F951C #1C5C95 #921C95 #95551C
split-complementary
#1F951C #551C95 #951C5C
monochromatic
#0A2E09 #146112 #1F951C #2AC926 #51DE4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F951C#FFFFFF#000000##000000
##1F951C1.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: #1f951c;
/* rgb */ color: rgb(31, 149, 28);
/* oklch */ color: oklch(58.5% 0.184 142.5);
Tailwind
colors: {
  custom: {
    50: '#71b563',
    500: '#1f951c',
    950: '#000000',
  },
}
SCSS
$custom: #1f951c;
$custom-light: #71b563;
$custom-dark: #000000;
JSON
{
  "hex": "#1f951c",
  "rgb": {
    "r": 31,
    "g": 149,
    "b": 28
  },
  "hsl": {
    "h": 118.512,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58492,
    "c": 0.18409,
    "h": 142.5
  },
  "luminance": 0.2187
}

Semantic roles & 50–950 ramp

primary
#1F951C
secondary
#BD4DC0
accent
#3DEBE7
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1F951C

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

Preview Lab → · Contrast checker → · Palette generator →

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