#1F9E40#1F9E40

#1F9E40 is a mid, vivid green. Relative luminance 0.251; OKLCH L 61.3% C 0.170 H 147.1°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#1F9E40
RGBrgb(31, 158, 64)
HSLhsl(136, 67%, 37%)
HSVhsv(136, 80%, 62%)
CMYKcmyk(80.4%, 0%, 59.5%, 38%)
CIE-LABlab(57.19, -53.19, 39.15)
CIE-LCHlch(57.19, 66.04, 143.65°)
OKLaboklab(61.33% -0.143 0.0927)
OKLCHoklch(61.33% 0.17 147.1)
XYZxyz(13.7163, 25.1135, 8.9740)
Luminance0.2511 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9E40 #9E1F7D
analogous
#3D9E1F #1F9E40 #1F9E80
triadic
#1F9E40 #401F9E #9E401F
tetradic
#1F9E40 #1F3D9E #9E1F7D #9E801F
square
#1F9E40 #1F3D9E #9E1F7D #9E801F
split-complementary
#1F9E40 #801F9E #9E1F3D
monochromatic
#0B3817 #156B2B #1F9E40 #29D155 #59DE7C

Accessibility & contrast

On white

3.49
#1F9E40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#1F9E40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9E40
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9E40#FFFFFF#000000##000000
##1F9E401.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08F36
Deuteranopia (green-blind)
#928548
Tritanopia (blue-blind)
#009A89
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #1f9e40;
/* rgb */ color: rgb(31, 158, 64);
/* oklch */ color: oklch(61.3% 0.170 147.1);
Tailwind
colors: {
  custom: {
    50: '#72bc78',
    500: '#1f9e40',
    950: '#000000',
  },
}
SCSS
$custom: #1f9e40;
$custom-light: #72bc78;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9e40",
  "rgb": {
    "r": 31,
    "g": 158,
    "b": 64
  },
  "hsl": {
    "h": 135.591,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61326,
    "c": 0.17044,
    "h": 147.1
  },
  "luminance": 0.25115
}

Semantic roles & 50–950 ramp

primary
#1F9E40
secondary
#C256A6
accent
#3EBDEA
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091209
muted
#7B817B

Preview Lab

Preview with #1F9E40

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

Preview Lab → · Contrast checker → · Palette generator →

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