#1F9922#1F9922

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

Color values

HEX#1F9922
RGBrgb(31, 153, 34)
HSLhsl(121, 66%, 36%)
HSVhsv(121, 80%, 60%)
CMYKcmyk(79.7%, 0%, 77.8%, 40%)
CIE-LABlab(55.27, -54.65, 49.65)
CIE-LCHlch(55.27, 73.84, 137.75°)
OKLaboklab(59.65% -0.1482 0.1115)
OKLCHoklch(59.65% 0.185 143)
XYZxyz(12.2443, 23.1878, 5.3434)
Luminance0.2319 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9922 #991F96
analogous
#59991F #1F9922 #1F995F
triadic
#1F9922 #221F99 #99221F
tetradic
#1F9922 #1F5999 #991F96 #995F1F
square
#1F9922 #1F5999 #991F96 #995F1F
split-complementary
#1F9922 #5F1F99 #991F59
monochromatic
#0A330B #156617 #1F9922 #29CC2D #56DD59

Accessibility & contrast

On white

3.72
#1F9922 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F9922#FFFFFF#000000##000000
##1F99221.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A05
Deuteranopia (green-blind)
#8F8130
Tritanopia (blue-blind)
#009483
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #1f9922;
/* rgb */ color: rgb(31, 153, 34);
/* oklch */ color: oklch(59.6% 0.185 143.0);
Tailwind
colors: {
  custom: {
    50: '#72b866',
    500: '#1f9922',
    950: '#000000',
  },
}
SCSS
$custom: #1f9922;
$custom-light: #72b866;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9922",
  "rgb": {
    "r": 31,
    "g": 153,
    "b": 34
  },
  "hsl": {
    "h": 121.475,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59648,
    "c": 0.18547,
    "h": 143
  },
  "luminance": 0.23189
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F9922

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

Preview Lab → · Contrast checker → · Palette generator →

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