#1F9D20#1F9D20

#1F9D20 is a mid, vivid green. Relative luminance 0.245; OKLCH L 60.7% C 0.191 H 142.8°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#1F9D20
RGBrgb(31, 157, 32)
HSLhsl(120, 67%, 37%)
HSVhsv(120, 80%, 62%)
CMYKcmyk(80.3%, 0%, 79.6%, 38.4%)
CIE-LABlab(56.59, -56.07, 51.60)
CIE-LCHlch(56.59, 76.20, 137.38°)
OKLaboklab(60.75% -0.1521 0.1153)
OKLCHoklch(60.75% 0.191 142.8)
XYZxyz(12.8819, 24.5080, 5.4178)
Luminance0.2451 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9D20 #9D1F9C
analogous
#5D9D1F #1F9D20 #1F9D5F
triadic
#1F9D20 #201F9D #9D201F
tetradic
#1F9D20 #1F5D9D #9D1F9C #9D5F1F
square
#1F9D20 #1F5D9D #9D1F9C #9D5F1F
split-complementary
#1F9D20 #5F1F9D #9D1F5D
monochromatic
#0B370B #156A16 #1F9D20 #29D02A #58DE59

Accessibility & contrast

On white

3.56
#1F9D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#1F9D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9D20
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9D20#FFFFFF#000000##000000
##1F9D201.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18D00
Deuteranopia (green-blind)
#93842F
Tritanopia (blue-blind)
#009886
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #1f9d20;
/* rgb */ color: rgb(31, 157, 32);
/* oklch */ color: oklch(60.7% 0.191 142.8);
Tailwind
colors: {
  custom: {
    50: '#73bb66',
    500: '#1f9d20',
    950: '#000000',
  },
}
SCSS
$custom: #1f9d20;
$custom-light: #73bb66;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9d20",
  "rgb": {
    "r": 31,
    "g": 157,
    "b": 32
  },
  "hsl": {
    "h": 120.476,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60749,
    "c": 0.19089,
    "h": 142.8
  },
  "luminance": 0.2451
}

Semantic roles & 50–950 ramp

primary
#1F9D20
secondary
#C256C1
accent
#3EE9EA
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #1F9D20

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

Preview Lab → · Contrast checker → · Palette generator →

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