#1F9921#1F9921

#1F9921 is a mid, vivid green. Relative luminance 0.232; OKLCH L 59.6% C 0.186 H 143.0°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#1F9921
RGBrgb(31, 153, 33)
HSLhsl(121, 66%, 36%)
HSVhsv(121, 80%, 60%)
CMYKcmyk(79.7%, 0%, 78.4%, 40%)
CIE-LABlab(55.26, -54.73, 49.98)
CIE-LCHlch(55.26, 74.12, 137.60°)
OKLaboklab(59.64% -0.1485 0.1121)
OKLCHoklch(59.64% 0.186 143)
XYZxyz(12.2300, 23.1821, 5.2686)
Luminance0.2318 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9921 #991F97
analogous
#5A991F #1F9921 #1F995E
triadic
#1F9921 #211F99 #99211F
tetradic
#1F9921 #1F5A99 #991F97 #995E1F
square
#1F9921 #1F5A99 #991F97 #995E1F
split-complementary
#1F9921 #5E1F99 #991F5A
monochromatic
#0A330B #156616 #1F9921 #29CC2C #56DD58

Accessibility & contrast

On white

3.73
#1F9921 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#1F9921 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9921
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9921#FFFFFF#000000##000000
##1F99211.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A02
Deuteranopia (green-blind)
#8F812F
Tritanopia (blue-blind)
#009482
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #1f9921;
/* rgb */ color: rgb(31, 153, 33);
/* oklch */ color: oklch(59.6% 0.186 143.0);
Tailwind
colors: {
  custom: {
    50: '#72b866',
    500: '#1f9921',
    950: '#000000',
  },
}
SCSS
$custom: #1f9921;
$custom-light: #72b866;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9921",
  "rgb": {
    "r": 31,
    "g": 153,
    "b": 33
  },
  "hsl": {
    "h": 120.984,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59642,
    "c": 0.186,
    "h": 143
  },
  "luminance": 0.23184
}

Semantic roles & 50–950 ramp

primary
#1F9921
secondary
#C054BE
accent
#3FE6E9
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1F9921

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

Preview Lab → · Contrast checker → · Palette generator →

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