#1F9B40#1F9B40

#1F9B40 is a mid, vivid green. Relative luminance 0.241; OKLCH L 60.5% C 0.167 H 147.3°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#1F9B40
RGBrgb(31, 155, 64)
HSLhsl(136, 67%, 36%)
HSVhsv(136, 80%, 61%)
CMYKcmyk(80%, 0%, 58.7%, 39.2%)
CIE-LABlab(56.19, -52.17, 37.98)
CIE-LCHlch(56.19, 64.52, 143.94°)
OKLaboklab(60.5% -0.1403 0.0901)
OKLCHoklch(60.5% 0.167 147.3)
XYZxyz(13.2108, 24.1026, 8.8055)
Luminance0.2410 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9B40 #9B1F7A
analogous
#3C9B1F #1F9B40 #1F9B7E
triadic
#1F9B40 #401F9B #9B401F
tetradic
#1F9B40 #1F3C9B #9B1F7A #9B7E1F
square
#1F9B40 #1F3C9B #9B1F7A #9B7E1F
split-complementary
#1F9B40 #7E1F9B #9B1F3C
monochromatic
#0B3516 #15682B #1F9B40 #29CE55 #57DD7B

Accessibility & contrast

On white

3.61
#1F9B40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#1F9B40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9B40
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9B40#FFFFFF#000000##000000
##1F9B401.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8D37
Deuteranopia (green-blind)
#8F8347
Tritanopia (blue-blind)
#009787
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #1f9b40;
/* rgb */ color: rgb(31, 155, 64);
/* oklch */ color: oklch(60.5% 0.167 147.3);
Tailwind
colors: {
  custom: {
    50: '#71ba78',
    500: '#1f9b40',
    950: '#000000',
  },
}
SCSS
$custom: #1f9b40;
$custom-light: #71ba78;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9b40",
  "rgb": {
    "r": 31,
    "g": 155,
    "b": 64
  },
  "hsl": {
    "h": 135.968,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.605,
    "c": 0.16673,
    "h": 147.3
  },
  "luminance": 0.24104
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F9B40

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

Preview Lab → · Contrast checker → · Palette generator →

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