#1F9C40#1F9C40

#1F9C40 is a mid, vivid green. Relative luminance 0.244; OKLCH L 60.8% C 0.168 H 147.2°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#1F9C40
RGBrgb(31, 156, 64)
HSLhsl(136, 67%, 37%)
HSVhsv(136, 80%, 61%)
CMYKcmyk(80.1%, 0%, 59%, 38.8%)
CIE-LABlab(56.52, -52.51, 38.37)
CIE-LCHlch(56.52, 65.03, 143.84°)
OKLaboklab(60.78% -0.1412 0.091)
OKLCHoklch(60.78% 0.168 147.2)
XYZxyz(13.3779, 24.4368, 8.8612)
Luminance0.2444 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9C40 #9C1F7B
analogous
#3D9C1F #1F9C40 #1F9C7F
triadic
#1F9C40 #401F9C #9C401F
tetradic
#1F9C40 #1F3D9C #9C1F7B #9C7F1F
square
#1F9C40 #1F3D9C #9C1F7B #9C7F1F
split-complementary
#1F9C40 #7F1F9C #9C1F3D
monochromatic
#0B3616 #15692B #1F9C40 #29CF55 #58DE7B

Accessibility & contrast

On white

3.57
#1F9C40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#1F9C40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9C40
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9C40#FFFFFF#000000##000000
##1F9C401.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8D37
Deuteranopia (green-blind)
#908447
Tritanopia (blue-blind)
#009888
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #1f9c40;
/* rgb */ color: rgb(31, 156, 64);
/* oklch */ color: oklch(60.8% 0.168 147.2);
Tailwind
colors: {
  custom: {
    50: '#71ba78',
    500: '#1f9c40',
    950: '#000000',
  },
}
SCSS
$custom: #1f9c40;
$custom-light: #71ba78;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9c40",
  "rgb": {
    "r": 31,
    "g": 156,
    "b": 64
  },
  "hsl": {
    "h": 135.84,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.60775,
    "c": 0.16797,
    "h": 147.2
  },
  "luminance": 0.24438
}

Semantic roles & 50–950 ramp

primary
#1F9C40
secondary
#C155A5
accent
#3EBCEA
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091209
muted
#7B817B

Preview Lab

Preview with #1F9C40

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

Preview Lab → · Contrast checker → · Palette generator →

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