#1F9F40#1F9F40

#1F9F40 is a mid, vivid green. Relative luminance 0.255; OKLCH L 61.6% C 0.172 H 147.0°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#1F9F40
RGBrgb(31, 159, 64)
HSLhsl(135, 67%, 37%)
HSVhsv(135, 81%, 62%)
CMYKcmyk(80.5%, 0%, 59.7%, 37.6%)
CIE-LABlab(57.52, -53.53, 39.53)
CIE-LCHlch(57.52, 66.55, 143.56°)
OKLaboklab(61.6% -0.144 0.0935)
OKLCHoklch(61.6% 0.172 147)
XYZxyz(13.8876, 25.4561, 9.0311)
Luminance0.2546 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9F40 #9F1F7E
analogous
#3E9F1F #1F9F40 #1F9F80
triadic
#1F9F40 #401F9F #9F401F
tetradic
#1F9F40 #1F3E9F #9F1F7E #9F801F
square
#1F9F40 #1F3E9F #9F1F7E #9F801F
split-complementary
#1F9F40 #801F9F #9F1F3E
monochromatic
#0B3917 #156C2B #1F9F40 #29D255 #5ADF7C

Accessibility & contrast

On white

3.45
#1F9F40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#1F9F40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9F40
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9F40#FFFFFF#000000##000000
##1F9F401.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19036
Deuteranopia (green-blind)
#938648
Tritanopia (blue-blind)
#009B8A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #1f9f40;
/* rgb */ color: rgb(31, 159, 64);
/* oklch */ color: oklch(61.6% 0.172 147.0);
Tailwind
colors: {
  custom: {
    50: '#72bd78',
    500: '#1f9f40',
    950: '#000000',
  },
}
SCSS
$custom: #1f9f40;
$custom-light: #72bd78;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9f40",
  "rgb": {
    "r": 31,
    "g": 159,
    "b": 64
  },
  "hsl": {
    "h": 135.469,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.61601,
    "c": 0.17167,
    "h": 147
  },
  "luminance": 0.25458
}

Semantic roles & 50–950 ramp

primary
#1F9F40
secondary
#C357A7
accent
#3EBEEA
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#091209
muted
#7B817B

Preview Lab

Preview with #1F9F40

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

Preview Lab → · Contrast checker → · Palette generator →

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