#1F9B20#1F9B20

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

Color values

HEX#1F9B20
RGBrgb(31, 155, 32)
HSLhsl(120, 67%, 36%)
HSVhsv(120, 80%, 61%)
CMYKcmyk(80%, 0%, 79.4%, 39.2%)
CIE-LABlab(55.92, -55.43, 50.96)
CIE-LCHlch(55.92, 75.30, 137.41°)
OKLaboklab(60.19% -0.1504 0.114)
OKLCHoklch(60.19% 0.189 142.9)
XYZxyz(12.5463, 23.8368, 5.3059)
Luminance0.2384 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9B20 #9B1F9A
analogous
#5C9B1F #1F9B20 #1F9B5E
triadic
#1F9B20 #201F9B #9B201F
tetradic
#1F9B20 #1F5C9B #9B1F9A #9B5E1F
square
#1F9B20 #1F5C9B #9B1F9A #9B5E1F
split-complementary
#1F9B20 #5E1F9B #9B1F5C
monochromatic
#0B350B #156815 #1F9B20 #29CE2B #57DD58

Accessibility & contrast

On white

3.64
#1F9B20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#1F9B20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9B20
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9B20#FFFFFF#000000##000000
##1F9B201.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C00
Deuteranopia (green-blind)
#91822F
Tritanopia (blue-blind)
#009684
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #1f9b20;
/* rgb */ color: rgb(31, 155, 32);
/* oklch */ color: oklch(60.2% 0.189 142.9);
Tailwind
colors: {
  custom: {
    50: '#73ba66',
    500: '#1f9b20',
    950: '#000000',
  },
}
SCSS
$custom: #1f9b20;
$custom-light: #73ba66;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9b20",
  "rgb": {
    "r": 31,
    "g": 155,
    "b": 32
  },
  "hsl": {
    "h": 120.484,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60193,
    "c": 0.18871,
    "h": 142.9
  },
  "luminance": 0.23838
}

Semantic roles & 50–950 ramp

primary
#1F9B20
secondary
#C155C0
accent
#3EE8EA
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091206
muted
#7B817A

Preview Lab

Preview with #1F9B20

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

Preview Lab → · Contrast checker → · Palette generator →

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