#1F9E20#1F9E20

#1F9E20 is a mid, vivid green. Relative luminance 0.248; OKLCH L 61.0% C 0.192 H 142.8°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#1F9E20
RGBrgb(31, 158, 32)
HSLhsl(120, 67%, 37%)
HSVhsv(120, 80%, 62%)
CMYKcmyk(80.4%, 0%, 79.7%, 38%)
CIE-LABlab(56.93, -56.38, 51.92)
CIE-LCHlch(56.93, 76.65, 137.36°)
OKLaboklab(61.03% -0.153 0.116)
OKLCHoklch(61.03% 0.192 142.8)
XYZxyz(13.0518, 24.8477, 5.4744)
Luminance0.2485 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9E20 #9E1F9D
analogous
#5E9E1F #1F9E20 #1F9E5F
triadic
#1F9E20 #201F9E #9E201F
tetradic
#1F9E20 #1F5E9E #9E1F9D #9E5F1F
square
#1F9E20 #1F5E9E #9E1F9D #9E5F1F
split-complementary
#1F9E20 #5F1F9E #9E1F5E
monochromatic
#0B380B #156B16 #1F9E20 #29D12A #59DE5A

Accessibility & contrast

On white

3.52
#1F9E20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#1F9E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9E20
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9E20#FFFFFF#000000##000000
##1F9E201.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28E00
Deuteranopia (green-blind)
#94852F
Tritanopia (blue-blind)
#009987
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #1f9e20;
/* rgb */ color: rgb(31, 158, 32);
/* oklch */ color: oklch(61.0% 0.192 142.8);
Tailwind
colors: {
  custom: {
    50: '#73bc66',
    500: '#1f9e20',
    950: '#000000',
  },
}
SCSS
$custom: #1f9e20;
$custom-light: #73bc66;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9e20",
  "rgb": {
    "r": 31,
    "g": 158,
    "b": 32
  },
  "hsl": {
    "h": 120.472,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61027,
    "c": 0.19197,
    "h": 142.8
  },
  "luminance": 0.24849
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F9E20

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

Preview Lab → · Contrast checker → · Palette generator →

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