#1F9552#1F9552

#1F9552 is a mid, vivid green. Relative luminance 0.224; OKLCH L 59.1% C 0.143 H 152.7°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#1F9552
RGBrgb(31, 149, 82)
HSLhsl(146, 66%, 35%)
HSVhsv(146, 79%, 58%)
CMYKcmyk(79.2%, 0%, 45%, 41.6%)
CIE-LABlab(54.44, -47.11, 26.57)
CIE-LCHlch(54.44, 54.09, 150.58°)
OKLaboklab(59.13% -0.1267 0.0655)
OKLCHoklch(59.13% 0.143 152.7)
XYZxyz(12.8343, 22.3938, 11.6270)
Luminance0.2240 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9552 #951F62
analogous
#27951F #1F9552 #1F958D
triadic
#1F9552 #521F95 #95521F
tetradic
#1F9552 #1F2795 #951F62 #958D1F
square
#1F9552 #1F2795 #951F62 #958D1F
split-complementary
#1F9552 #8D1F95 #951F27
monochromatic
#0A301A #146236 #1F9552 #2AC86E #53DB8E

Accessibility & contrast

On white

3.83
#1F9552 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#1F9552 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9552
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9552#FFFFFF#000000##000000
##1F95521.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#95884D
Deuteranopia (green-blind)
#887E57
Tritanopia (blue-blind)
#009385
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #1f9552;
/* rgb */ color: rgb(31, 149, 82);
/* oklch */ color: oklch(59.1% 0.143 152.7);
Tailwind
colors: {
  custom: {
    50: '#6fb583',
    500: '#1f9552',
    950: '#000000',
  },
}
SCSS
$custom: #1f9552;
$custom-light: #6fb583;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9552",
  "rgb": {
    "r": 31,
    "g": 149,
    "b": 82
  },
  "hsl": {
    "h": 145.932,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59132,
    "c": 0.14261,
    "h": 152.7
  },
  "luminance": 0.22395
}

Semantic roles & 50–950 ramp

primary
#1F9552
secondary
#BF518F
accent
#3F9FE9
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#09110B
muted
#7B807C

Preview Lab

Preview with #1F9552

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

Preview Lab → · Contrast checker → · Palette generator →

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