#1F952F#1F952F

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

Color values

HEX#1F952F
RGBrgb(31, 149, 47)
HSLhsl(128, 66%, 35%)
HSVhsv(128, 79%, 58%)
CMYKcmyk(79.2%, 0%, 68.5%, 41.6%)
CIE-LABlab(54.02, -52.19, 43.32)
CIE-LCHlch(54.02, 67.83, 140.30°)
OKLaboklab(58.64% -0.1409 0.0999)
OKLCHoklch(58.64% 0.173 144.7)
XYZxyz(11.8248, 21.9900, 6.3101)
Luminance0.2199 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F952F #951F85
analogous
#4A951F #1F952F #1F956A
triadic
#1F952F #2F1F95 #952F1F
tetradic
#1F952F #1F4A95 #951F85 #956A1F
square
#1F952F #1F4A95 #951F85 #956A1F
split-complementary
#1F952F #6A1F95 #951F4A
monochromatic
#0A300F #14621F #1F952F #2AC83F #53DB66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F952F#FFFFFF#000000##000000
##1F952F1.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)
#988721
Deuteranopia (green-blind)
#8B7E39
Tritanopia (blue-blind)
#009180
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #1f952f;
/* rgb */ color: rgb(31, 149, 47);
/* oklch */ color: oklch(58.6% 0.173 144.7);
Tailwind
colors: {
  custom: {
    50: '#70b56d',
    500: '#1f952f',
    950: '#000000',
  },
}
SCSS
$custom: #1f952f;
$custom-light: #70b56d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f952f",
  "rgb": {
    "r": 31,
    "g": 149,
    "b": 47
  },
  "hsl": {
    "h": 128.136,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.5864,
    "c": 0.17277,
    "h": 144.7
  },
  "luminance": 0.21991
}

Semantic roles & 50–950 ramp

primary
#1F952F
secondary
#BF51B0
accent
#3FD2E9
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #1F952F

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

Preview Lab → · Contrast checker → · Palette generator →

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