#1F9A40#1F9A40

#1F9A40 is a mid, vivid green. Relative luminance 0.238; OKLCH L 60.2% C 0.165 H 147.3°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#1F9A40
RGBrgb(31, 154, 64)
HSLhsl(136, 66%, 36%)
HSVhsv(136, 80%, 60%)
CMYKcmyk(79.9%, 0%, 58.4%, 39.6%)
CIE-LABlab(55.86, -51.82, 37.58)
CIE-LCHlch(55.86, 64.01, 144.05°)
OKLaboklab(60.22% -0.1393 0.0893)
OKLCHoklch(60.22% 0.165 147.3)
XYZxyz(13.0451, 23.7711, 8.7503)
Luminance0.2377 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9A40 #9A1F79
analogous
#3C9A1F #1F9A40 #1F9A7E
triadic
#1F9A40 #401F9A #9A401F
tetradic
#1F9A40 #1F3C9A #9A1F79 #9A7E1F
square
#1F9A40 #1F3C9A #9A1F79 #9A7E1F
split-complementary
#1F9A40 #7E1F9A #9A1F3C
monochromatic
#0A3416 #15672B #1F9A40 #29CD55 #56DD7A

Accessibility & contrast

On white

3.65
#1F9A40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#1F9A40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9A40
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9A40#FFFFFF#000000##000000
##1F9A401.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8C37
Deuteranopia (green-blind)
#8E8247
Tritanopia (blue-blind)
#009786
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #1f9a40;
/* rgb */ color: rgb(31, 154, 64);
/* oklch */ color: oklch(60.2% 0.165 147.3);
Tailwind
colors: {
  custom: {
    50: '#71b977',
    500: '#1f9a40',
    950: '#000000',
  },
}
SCSS
$custom: #1f9a40;
$custom-light: #71b977;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9a40",
  "rgb": {
    "r": 31,
    "g": 154,
    "b": 64
  },
  "hsl": {
    "h": 136.098,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.60224,
    "c": 0.16548,
    "h": 147.3
  },
  "luminance": 0.23773
}

Semantic roles & 50–950 ramp

primary
#1F9A40
secondary
#C154A4
accent
#3EBCE9
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091209
muted
#7B817B

Preview Lab

Preview with #1F9A40

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

Preview Lab → · Contrast checker → · Palette generator →

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