#1F9D40#1F9D40

#1F9D40 is a mid, vivid green. Relative luminance 0.248; OKLCH L 61.1% C 0.169 H 147.1°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#1F9D40
RGBrgb(31, 157, 64)
HSLhsl(136, 67%, 37%)
HSVhsv(136, 80%, 62%)
CMYKcmyk(80.3%, 0%, 59.2%, 38.4%)
CIE-LABlab(56.85, -52.85, 38.76)
CIE-LCHlch(56.85, 65.54, 143.75°)
OKLaboklab(61.05% -0.1421 0.0918)
OKLCHoklch(61.05% 0.169 147.1)
XYZxyz(13.5464, 24.7738, 8.9174)
Luminance0.2477 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9D40 #9D1F7C
analogous
#3D9D1F #1F9D40 #1F9D7F
triadic
#1F9D40 #401F9D #9D401F
tetradic
#1F9D40 #1F3D9D #9D1F7C #9D7F1F
square
#1F9D40 #1F3D9D #9D1F7C #9D7F1F
split-complementary
#1F9D40 #7F1F9D #9D1F3D
monochromatic
#0B3716 #156A2B #1F9D40 #29D055 #58DE7B

Accessibility & contrast

On white

3.53
#1F9D40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#1F9D40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9D40
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9D40#FFFFFF#000000##000000
##1F9D401.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8E37
Deuteranopia (green-blind)
#918548
Tritanopia (blue-blind)
#009989
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #1f9d40;
/* rgb */ color: rgb(31, 157, 64);
/* oklch */ color: oklch(61.1% 0.169 147.1);
Tailwind
colors: {
  custom: {
    50: '#72bb78',
    500: '#1f9d40',
    950: '#000000',
  },
}
SCSS
$custom: #1f9d40;
$custom-light: #72bb78;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9d40",
  "rgb": {
    "r": 31,
    "g": 157,
    "b": 64
  },
  "hsl": {
    "h": 135.714,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61051,
    "c": 0.16921,
    "h": 147.1
  },
  "luminance": 0.24775
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F9D40

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

Preview Lab → · Contrast checker → · Palette generator →

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