#1F9928#1F9928

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

Color values

HEX#1F9928
RGBrgb(31, 153, 40)
HSLhsl(124, 66%, 36%)
HSVhsv(124, 80%, 60%)
CMYKcmyk(79.7%, 0%, 73.9%, 40%)
CIE-LABlab(55.30, -54.17, 47.51)
CIE-LCHlch(55.30, 72.06, 138.75°)
OKLaboklab(59.69% -0.1466 0.1079)
OKLCHoklch(59.69% 0.182 143.7)
XYZxyz(12.3385, 23.2255, 5.8398)
Luminance0.2323 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9928 #991F90
analogous
#53991F #1F9928 #1F9965
triadic
#1F9928 #281F99 #99281F
tetradic
#1F9928 #1F5399 #991F90 #99651F
square
#1F9928 #1F5399 #991F90 #99651F
split-complementary
#1F9928 #651F99 #991F53
monochromatic
#0A330D #15661B #1F9928 #29CC35 #56DD60

Accessibility & contrast

On white

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

On black

5.65
#1F9928 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9928
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9928#FFFFFF#000000##000000
##1F99281.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A14
Deuteranopia (green-blind)
#8F8134
Tritanopia (blue-blind)
#009583
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #1f9928;
/* rgb */ color: rgb(31, 153, 40);
/* oklch */ color: oklch(59.7% 0.182 143.7);
Tailwind
colors: {
  custom: {
    50: '#72b869',
    500: '#1f9928',
    950: '#000000',
  },
}
SCSS
$custom: #1f9928;
$custom-light: #72b869;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9928",
  "rgb": {
    "r": 31,
    "g": 153,
    "b": 40
  },
  "hsl": {
    "h": 124.426,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59693,
    "c": 0.18204,
    "h": 143.7
  },
  "luminance": 0.23227
}

Semantic roles & 50–950 ramp

primary
#1F9928
secondary
#C054B8
accent
#3FDDE9
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #1F9928

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

Preview Lab → · Contrast checker → · Palette generator →

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