#1F952E#1F952E

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

Color values

HEX#1F952E
RGBrgb(31, 149, 46)
HSLhsl(128, 66%, 35%)
HSVhsv(128, 79%, 58%)
CMYKcmyk(79.2%, 0%, 69.1%, 41.6%)
CIE-LABlab(54.01, -52.29, 43.74)
CIE-LCHlch(54.01, 68.17, 140.09°)
OKLaboklab(58.63% -0.1412 0.1007)
OKLCHoklch(58.63% 0.173 144.5)
XYZxyz(11.8049, 21.9821, 6.2050)
Luminance0.2198 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F952E #951F86
analogous
#4B951F #1F952E #1F9569
triadic
#1F952E #2E1F95 #952E1F
tetradic
#1F952E #1F4B95 #951F86 #95691F
square
#1F952E #1F4B95 #951F86 #95691F
split-complementary
#1F952E #691F95 #951F4B
monochromatic
#0A300F #14621E #1F952E #2AC83E #53DB64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F952E#FFFFFF#000000##000000
##1F952E1.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)
#988720
Deuteranopia (green-blind)
#8B7E38
Tritanopia (blue-blind)
#009180
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #1f952e;
/* rgb */ color: rgb(31, 149, 46);
/* oklch */ color: oklch(58.6% 0.173 144.5);
Tailwind
colors: {
  custom: {
    50: '#70b56c',
    500: '#1f952e',
    950: '#000000',
  },
}
SCSS
$custom: #1f952e;
$custom-light: #70b56c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f952e",
  "rgb": {
    "r": 31,
    "g": 149,
    "b": 46
  },
  "hsl": {
    "h": 127.627,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58631,
    "c": 0.17347,
    "h": 144.5
  },
  "luminance": 0.21983
}

Semantic roles & 50–950 ramp

primary
#1F952E
secondary
#BF51B1
accent
#3FD3E9
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #1F952E

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

Preview Lab → · Contrast checker → · Palette generator →

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