#1F952A#1F952A

#1F952A is a mid, vivid green. Relative luminance 0.220; OKLCH L 58.6% C 0.176 H 144.0°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#1F952A
RGBrgb(31, 149, 42)
HSLhsl(126, 66%, 35%)
HSVhsv(126, 79%, 58%)
CMYKcmyk(79.2%, 0%, 71.8%, 41.6%)
CIE-LABlab(53.98, -52.69, 45.36)
CIE-LCHlch(53.98, 69.52, 139.27°)
OKLaboklab(58.59% -0.1425 0.1036)
OKLCHoklch(58.59% 0.176 144)
XYZxyz(11.7297, 21.9520, 5.8090)
Luminance0.2195 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F952A #951F8A
analogous
#4F951F #1F952A #1F9565
triadic
#1F952A #2A1F95 #952A1F
tetradic
#1F952A #1F4F95 #951F8A #95651F
square
#1F952A #1F4F95 #951F8A #95651F
split-complementary
#1F952A #651F95 #951F4F
monochromatic
#0A300D #14621C #1F952A #2AC838 #53DB60

Accessibility & contrast

On white

3.90
#1F952A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#1F952A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F952A
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F952A#FFFFFF#000000##000000
##1F952A1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#988619
Deuteranopia (green-blind)
#8B7E35
Tritanopia (blue-blind)
#009180
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #1f952a;
/* rgb */ color: rgb(31, 149, 42);
/* oklch */ color: oklch(58.6% 0.176 144.0);
Tailwind
colors: {
  custom: {
    50: '#71b56a',
    500: '#1f952a',
    950: '#000000',
  },
}
SCSS
$custom: #1f952a;
$custom-light: #71b56a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f952a",
  "rgb": {
    "r": 31,
    "g": 149,
    "b": 42
  },
  "hsl": {
    "h": 125.593,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58594,
    "c": 0.17619,
    "h": 144
  },
  "luminance": 0.21953
}

Semantic roles & 50–950 ramp

primary
#1F952A
secondary
#BF51B4
accent
#3FD9E9
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #1F952A

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

Preview Lab → · Contrast checker → · Palette generator →

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