#1F954A#1F954A

#1F954A is a mid, vivid green. Relative luminance 0.223; OKLCH L 59.0% C 0.150 H 150.2°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#1F954A
RGBrgb(31, 149, 74)
HSLhsl(142, 66%, 35%)
HSVhsv(142, 79%, 58%)
CMYKcmyk(79.2%, 0%, 50.3%, 41.6%)
CIE-LABlab(54.32, -48.52, 30.66)
CIE-LCHlch(54.32, 57.40, 147.71°)
OKLaboklab(58.99% -0.1303 0.0746)
OKLCHoklch(58.99% 0.15 150.2)
XYZxyz(12.5475, 22.2791, 10.1162)
Luminance0.2228 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F954A #951F6A
analogous
#2F951F #1F954A #1F9585
triadic
#1F954A #4A1F95 #954A1F
tetradic
#1F954A #1F2F95 #951F6A #95851F
square
#1F954A #1F2F95 #951F6A #95851F
split-complementary
#1F954A #851F95 #951F2F
monochromatic
#0A3018 #146231 #1F954A #2AC863 #53DB85

Accessibility & contrast

On white

3.85
#1F954A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#1F954A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F954A
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F954A#FFFFFF#000000##000000
##1F954A1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#968844
Deuteranopia (green-blind)
#887E4F
Tritanopia (blue-blind)
#009283
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #1f954a;
/* rgb */ color: rgb(31, 149, 74);
/* oklch */ color: oklch(59.0% 0.150 150.2);
Tailwind
colors: {
  custom: {
    50: '#6fb57e',
    500: '#1f954a',
    950: '#000000',
  },
}
SCSS
$custom: #1f954a;
$custom-light: #6fb57e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f954a",
  "rgb": {
    "r": 31,
    "g": 149,
    "b": 74
  },
  "hsl": {
    "h": 141.864,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58992,
    "c": 0.15015,
    "h": 150.2
  },
  "luminance": 0.22281
}

Semantic roles & 50–950 ramp

primary
#1F954A
secondary
#BF5197
accent
#3FABE9
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #1F954A

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

Preview Lab → · Contrast checker → · Palette generator →

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