#1F9D2F#1F9D2F

#1F9D2F is a mid, vivid green. Relative luminance 0.246; OKLCH L 60.9% C 0.182 H 144.4°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#1F9D2F
RGBrgb(31, 157, 47)
HSLhsl(128, 67%, 37%)
HSVhsv(128, 80%, 62%)
CMYKcmyk(80.3%, 0%, 70.1%, 38.4%)
CIE-LABlab(56.69, -54.83, 46.19)
CIE-LCHlch(56.69, 71.69, 139.89°)
OKLaboklab(60.86% -0.1481 0.106)
OKLCHoklch(60.86% 0.182 144.4)
XYZxyz(13.1342, 24.6089, 6.7466)
Luminance0.2461 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9D2F #9D1F8D
analogous
#4E9D1F #1F9D2F #1F9D6E
triadic
#1F9D2F #2F1F9D #9D2F1F
tetradic
#1F9D2F #1F4E9D #9D1F8D #9D6E1F
square
#1F9D2F #1F4E9D #9D1F8D #9D6E1F
split-complementary
#1F9D2F #6E1F9D #9D1F4E
monochromatic
#0B3710 #156A20 #1F9D2F #29D03E #58DE69

Accessibility & contrast

On white

3.55
#1F9D2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#1F9D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9D2F
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9D2F#FFFFFF#000000##000000
##1F9D2F1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E1F
Deuteranopia (green-blind)
#92843A
Tritanopia (blue-blind)
#009987
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #1f9d2f;
/* rgb */ color: rgb(31, 157, 47);
/* oklch */ color: oklch(60.9% 0.182 144.4);
Tailwind
colors: {
  custom: {
    50: '#72bb6d',
    500: '#1f9d2f',
    950: '#000000',
  },
}
SCSS
$custom: #1f9d2f;
$custom-light: #72bb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9d2f",
  "rgb": {
    "r": 31,
    "g": 157,
    "b": 47
  },
  "hsl": {
    "h": 127.619,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60864,
    "c": 0.18212,
    "h": 144.4
  },
  "luminance": 0.2461
}

Semantic roles & 50–950 ramp

primary
#1F9D2F
secondary
#C256B4
accent
#3ED4EA
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091207
muted
#7B817A

Preview Lab

Preview with #1F9D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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