#1F9520#1F9520

#1F9520 is a mid, vivid green. Relative luminance 0.219; OKLCH L 58.5% C 0.182 H 142.9°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#1F9520
RGBrgb(31, 149, 32)
HSLhsl(121, 66%, 35%)
HSVhsv(121, 79%, 58%)
CMYKcmyk(79.2%, 0%, 78.5%, 41.6%)
CIE-LABlab(53.91, -53.51, 49.00)
CIE-LCHlch(53.91, 72.56, 137.52°)
OKLaboklab(58.52% -0.1452 0.1099)
OKLCHoklch(58.52% 0.182 142.9)
XYZxyz(11.5725, 21.8891, 4.9813)
Luminance0.2189 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9520 #951F94
analogous
#59951F #1F9520 #1F955B
triadic
#1F9520 #201F95 #95201F
tetradic
#1F9520 #1F5995 #951F94 #955B1F
square
#1F9520 #1F5995 #951F94 #955B1F
split-complementary
#1F9520 #5B1F95 #951F59
monochromatic
#0A300A #146215 #1F9520 #2AC82B #53DB54

Accessibility & contrast

On white

3.90
#1F9520 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#1F9520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9520
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9520#FFFFFF#000000##000000
##1F95201.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#988602
Deuteranopia (green-blind)
#8C7D2D
Tritanopia (blue-blind)
#00907F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #1f9520;
/* rgb */ color: rgb(31, 149, 32);
/* oklch */ color: oklch(58.5% 0.182 142.9);
Tailwind
colors: {
  custom: {
    50: '#71b565',
    500: '#1f9520',
    950: '#000000',
  },
}
SCSS
$custom: #1f9520;
$custom-light: #71b565;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9520",
  "rgb": {
    "r": 31,
    "g": 149,
    "b": 32
  },
  "hsl": {
    "h": 120.508,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58517,
    "c": 0.1821,
    "h": 142.9
  },
  "luminance": 0.2189
}

Semantic roles & 50–950 ramp

primary
#1F9520
secondary
#BF51BE
accent
#3FE7E9
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1F9520

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

Preview Lab → · Contrast checker → · Palette generator →

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