#1F9A20#1F9A20

#1F9A20 is a mid, vivid green. Relative luminance 0.235; OKLCH L 59.9% C 0.188 H 142.9°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#1F9A20
RGBrgb(31, 154, 32)
HSLhsl(120, 66%, 36%)
HSVhsv(120, 80%, 60%)
CMYKcmyk(79.9%, 0%, 79.2%, 39.6%)
CIE-LABlab(55.59, -55.12, 50.63)
CIE-LCHlch(55.59, 74.84, 137.43°)
OKLaboklab(59.91% -0.1496 0.1133)
OKLCHoklch(59.91% 0.188 142.9)
XYZxyz(12.3806, 23.5053, 5.2507)
Luminance0.2351 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9A20 #9A1F99
analogous
#5C9A1F #1F9A20 #1F9A5E
triadic
#1F9A20 #201F9A #9A201F
tetradic
#1F9A20 #1F5C9A #9A1F99 #9A5E1F
square
#1F9A20 #1F5C9A #9A1F99 #9A5E1F
split-complementary
#1F9A20 #5E1F9A #9A1F5C
monochromatic
#0A340B #156715 #1F9A20 #29CD2B #56DD57

Accessibility & contrast

On white

3.68
#1F9A20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#1F9A20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9A20
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9A20#FFFFFF#000000##000000
##1F9A201.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B00
Deuteranopia (green-blind)
#90822E
Tritanopia (blue-blind)
#009583
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #1f9a20;
/* rgb */ color: rgb(31, 154, 32);
/* oklch */ color: oklch(59.9% 0.188 142.9);
Tailwind
colors: {
  custom: {
    50: '#72b965',
    500: '#1f9a20',
    950: '#000000',
  },
}
SCSS
$custom: #1f9a20;
$custom-light: #72b965;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9a20",
  "rgb": {
    "r": 31,
    "g": 154,
    "b": 32
  },
  "hsl": {
    "h": 120.488,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59914,
    "c": 0.18762,
    "h": 142.9
  },
  "luminance": 0.23507
}

Semantic roles & 50–950 ramp

primary
#1F9A20
secondary
#C154C0
accent
#3EE8E9
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091206
muted
#7B817A

Preview Lab

Preview with #1F9A20

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

Preview Lab → · Contrast checker → · Palette generator →

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