#1F9F52#1F9F52

#1F9F52 is a mid, vivid green. Relative luminance 0.257; OKLCH L 61.9% C 0.156 H 151.1°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#1F9F52
RGBrgb(31, 159, 82)
HSLhsl(144, 67%, 37%)
HSVhsv(144, 81%, 62%)
CMYKcmyk(80.5%, 0%, 48.4%, 37.6%)
CIE-LABlab(57.75, -50.80, 30.79)
CIE-LCHlch(57.75, 59.40, 148.78°)
OKLaboklab(61.87% -0.1364 0.0752)
OKLCHoklch(61.87% 0.156 151.1)
XYZxyz(14.4849, 25.6950, 12.1772)
Luminance0.2570 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9F52 #9F1F6C
analogous
#2C9F1F #1F9F52 #1F9F92
triadic
#1F9F52 #521F9F #9F521F
tetradic
#1F9F52 #1F2C9F #9F1F6C #9F921F
square
#1F9F52 #1F2C9F #9F1F6C #9F921F
split-complementary
#1F9F52 #921F9F #9F1F2C
monochromatic
#0B391D #156C38 #1F9F52 #29D26C #5ADF8F

Accessibility & contrast

On white

3.42
#1F9F52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#1F9F52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9F52
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9F52#FFFFFF#000000##000000
##1F9F521.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0914C
Deuteranopia (green-blind)
#918758
Tritanopia (blue-blind)
#009C8D
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #1f9f52;
/* rgb */ color: rgb(31, 159, 82);
/* oklch */ color: oklch(61.9% 0.156 151.1);
Tailwind
colors: {
  custom: {
    50: '#71bc84',
    500: '#1f9f52',
    950: '#000000',
  },
}
SCSS
$custom: #1f9f52;
$custom-light: #71bc84;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9f52",
  "rgb": {
    "r": 31,
    "g": 159,
    "b": 82
  },
  "hsl": {
    "h": 143.906,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.61865,
    "c": 0.15577,
    "h": 151.1
  },
  "luminance": 0.25697
}

Semantic roles & 50–950 ramp

primary
#1F9F52
secondary
#C35798
accent
#3EA5EA
background
#F7FBF8
surface
#EDF7EF
border
#C8D0CA
text
#09120B
muted
#7B817C

Preview Lab

Preview with #1F9F52

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

Preview Lab → · Contrast checker → · Palette generator →

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