#1F9F31#1F9F31

#1F9F31 is a mid, vivid green. Relative luminance 0.253; OKLCH L 61.4% C 0.183 H 144.6°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#1F9F31
RGBrgb(31, 159, 49)
HSLhsl(128, 67%, 37%)
HSVhsv(128, 81%, 62%)
CMYKcmyk(80.5%, 0%, 69.2%, 37.6%)
CIE-LABlab(57.37, -55.28, 46.09)
CIE-LCHlch(57.37, 71.98, 140.18°)
OKLaboklab(61.44% -0.1493 0.106)
OKLCHoklch(61.44% 0.183 144.6)
XYZxyz(13.5166, 25.3077, 7.0776)
Luminance0.2531 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9F31 #9F1F8D
analogous
#4D9F1F #1F9F31 #1F9F71
triadic
#1F9F31 #311F9F #9F311F
tetradic
#1F9F31 #1F4D9F #9F1F8D #9F711F
square
#1F9F31 #1F4D9F #9F1F8D #9F711F
split-complementary
#1F9F31 #711F9F #9F1F4D
monochromatic
#0B3911 #156C21 #1F9F31 #29D241 #5ADF6C

Accessibility & contrast

On white

3.46
#1F9F31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#1F9F31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9F31
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9F31#FFFFFF#000000##000000
##1F9F311.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29021
Deuteranopia (green-blind)
#94863C
Tritanopia (blue-blind)
#009B89
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #1f9f31;
/* rgb */ color: rgb(31, 159, 49);
/* oklch */ color: oklch(61.4% 0.183 144.6);
Tailwind
colors: {
  custom: {
    50: '#73bd6f',
    500: '#1f9f31',
    950: '#000000',
  },
}
SCSS
$custom: #1f9f31;
$custom-light: #73bd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9f31",
  "rgb": {
    "r": 31,
    "g": 159,
    "b": 49
  },
  "hsl": {
    "h": 128.438,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.61436,
    "c": 0.18308,
    "h": 144.6
  },
  "luminance": 0.25309
}

Semantic roles & 50–950 ramp

primary
#1F9F31
secondary
#C357B4
accent
#3ED2EA
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#091208
muted
#7B817B

Preview Lab

Preview with #1F9F31

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

Preview Lab → · Contrast checker → · Palette generator →

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