#1F9927#1F9927

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

Color values

HEX#1F9927
RGBrgb(31, 153, 39)
HSLhsl(124, 66%, 36%)
HSVhsv(124, 80%, 60%)
CMYKcmyk(79.7%, 0%, 74.5%, 40%)
CIE-LABlab(55.30, -54.26, 47.88)
CIE-LCHlch(55.30, 72.37, 138.57°)
OKLaboklab(59.69% -0.1469 0.1085)
OKLCHoklch(59.69% 0.183 143.6)
XYZxyz(12.3217, 23.2188, 5.7513)
Luminance0.2322 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9927 #991F91
analogous
#54991F #1F9927 #1F9964
triadic
#1F9927 #271F99 #99271F
tetradic
#1F9927 #1F5499 #991F91 #99641F
square
#1F9927 #1F5499 #991F91 #99641F
split-complementary
#1F9927 #641F99 #991F54
monochromatic
#0A330D #15661A #1F9927 #29CC34 #56DD5F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F9927#FFFFFF#000000##000000
##1F99271.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)
#9C8A12
Deuteranopia (green-blind)
#8F8133
Tritanopia (blue-blind)
#009583
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #1f9927;
/* rgb */ color: rgb(31, 153, 39);
/* oklch */ color: oklch(59.7% 0.183 143.6);
Tailwind
colors: {
  custom: {
    50: '#72b869',
    500: '#1f9927',
    950: '#000000',
  },
}
SCSS
$custom: #1f9927;
$custom-light: #72b869;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9927",
  "rgb": {
    "r": 31,
    "g": 153,
    "b": 39
  },
  "hsl": {
    "h": 123.934,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59685,
    "c": 0.18265,
    "h": 143.6
  },
  "luminance": 0.2322
}

Semantic roles & 50–950 ramp

primary
#1F9927
secondary
#C054B9
accent
#3FDEE9
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #1F9927

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

Preview Lab → · Contrast checker → · Palette generator →

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