#1F952B#1F952B

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

Color values

HEX#1F952B
RGBrgb(31, 149, 43)
HSLhsl(126, 66%, 35%)
HSVhsv(126, 79%, 58%)
CMYKcmyk(79.2%, 0%, 71.1%, 41.6%)
CIE-LABlab(53.98, -52.59, 44.96)
CIE-LCHlch(53.98, 69.19, 139.47°)
OKLaboklab(58.6% -0.1422 0.1029)
OKLCHoklch(58.6% 0.176 144.1)
XYZxyz(11.7478, 21.9592, 5.9044)
Luminance0.2196 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F952B #951F89
analogous
#4E951F #1F952B #1F9566
triadic
#1F952B #2B1F95 #952B1F
tetradic
#1F952B #1F4E95 #951F89 #95661F
square
#1F952B #1F4E95 #951F89 #95661F
split-complementary
#1F952B #661F95 #951F4E
monochromatic
#0A300E #14621C #1F952B #2AC83A #53DB61

Accessibility & contrast

On white

3.89
#1F952B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F952B#FFFFFF#000000##000000
##1F952B1.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f952b;
/* rgb */ color: rgb(31, 149, 43);
/* oklch */ color: oklch(58.6% 0.176 144.1);
Tailwind
colors: {
  custom: {
    50: '#70b56a',
    500: '#1f952b',
    950: '#000000',
  },
}
SCSS
$custom: #1f952b;
$custom-light: #70b56a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f952b",
  "rgb": {
    "r": 31,
    "g": 149,
    "b": 43
  },
  "hsl": {
    "h": 126.102,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58603,
    "c": 0.17553,
    "h": 144.1
  },
  "luminance": 0.21961
}

Semantic roles & 50–950 ramp

primary
#1F952B
secondary
#BF51B3
accent
#3FD7E9
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #1F952B

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

Preview Lab → · Contrast checker → · Palette generator →

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