#1F952D#1F952D

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

Color values

HEX#1F952D
RGBrgb(31, 149, 45)
HSLhsl(127, 66%, 35%)
HSVhsv(127, 79%, 58%)
CMYKcmyk(79.2%, 0%, 69.8%, 41.6%)
CIE-LABlab(54.00, -52.39, 44.15)
CIE-LCHlch(54.00, 68.52, 139.88°)
OKLaboklab(58.62% -0.1416 0.1015)
OKLCHoklch(58.62% 0.174 144.4)
XYZxyz(11.7854, 21.9743, 6.1024)
Luminance0.2198 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F952D #951F87
analogous
#4C951F #1F952D #1F9568
triadic
#1F952D #2D1F95 #952D1F
tetradic
#1F952D #1F4C95 #951F87 #95681F
square
#1F952D #1F4C95 #951F87 #95681F
split-complementary
#1F952D #681F95 #951F4C
monochromatic
#0A300E #14621E #1F952D #2AC83C #53DB63

Accessibility & contrast

On white

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

On black

5.40
#1F952D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F952D
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F952D#FFFFFF#000000##000000
##1F952D1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#98871E
Deuteranopia (green-blind)
#8B7E37
Tritanopia (blue-blind)
#009180
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #1f952d;
/* rgb */ color: rgb(31, 149, 45);
/* oklch */ color: oklch(58.6% 0.174 144.4);
Tailwind
colors: {
  custom: {
    50: '#70b56b',
    500: '#1f952d',
    950: '#000000',
  },
}
SCSS
$custom: #1f952d;
$custom-light: #70b56b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f952d",
  "rgb": {
    "r": 31,
    "g": 149,
    "b": 45
  },
  "hsl": {
    "h": 127.119,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58621,
    "c": 0.17417,
    "h": 144.4
  },
  "luminance": 0.21976
}

Semantic roles & 50–950 ramp

primary
#1F952D
secondary
#BF51B2
accent
#3FD4E9
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #1F952D

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

Preview Lab → · Contrast checker → · Palette generator →

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