#1F9E48#1F9E48

#1F9E48 is a mid, vivid green. Relative luminance 0.252; OKLCH L 61.4% C 0.164 H 148.7°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#1F9E48
RGBrgb(31, 158, 72)
HSLhsl(139, 67%, 37%)
HSVhsv(139, 80%, 62%)
CMYKcmyk(80.4%, 0%, 54.4%, 38%)
CIE-LABlab(57.28, -52.05, 35.33)
CIE-LCHlch(57.28, 62.91, 145.83°)
OKLaboklab(61.43% -0.1398 0.0849)
OKLCHoklch(61.43% 0.164 148.7)
XYZxyz(13.9605, 25.2112, 10.2601)
Luminance0.2521 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9E48 #9E1F75
analogous
#369E1F #1F9E48 #1F9E88
triadic
#1F9E48 #481F9E #9E481F
tetradic
#1F9E48 #1F369E #9E1F75 #9E881F
square
#1F9E48 #1F369E #9E1F75 #9E881F
split-complementary
#1F9E48 #881F9E #9E1F36
monochromatic
#0B3819 #156B31 #1F9E48 #29D15F #59DE84

Accessibility & contrast

On white

3.48
#1F9E48 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#1F9E48 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9E48
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9E48#FFFFFF#000000##000000
##1F9E481.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F9040
Deuteranopia (green-blind)
#91864F
Tritanopia (blue-blind)
#009B8A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #1f9e48;
/* rgb */ color: rgb(31, 158, 72);
/* oklch */ color: oklch(61.4% 0.164 148.7);
Tailwind
colors: {
  custom: {
    50: '#71bc7d',
    500: '#1f9e48',
    950: '#000000',
  },
}
SCSS
$custom: #1f9e48;
$custom-light: #71bc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9e48",
  "rgb": {
    "r": 31,
    "g": 158,
    "b": 72
  },
  "hsl": {
    "h": 139.37,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61435,
    "c": 0.16356,
    "h": 148.7
  },
  "luminance": 0.25213
}

Semantic roles & 50–950 ramp

primary
#1F9E48
secondary
#C256A0
accent
#3EB2EA
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09120A
muted
#7B817C

Preview Lab

Preview with #1F9E48

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

Preview Lab → · Contrast checker → · Palette generator →

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