#1F9B31#1F9B31

#1F9B31 is a mid, vivid green. Relative luminance 0.240; OKLCH L 60.3% C 0.178 H 144.7°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#1F9B31
RGBrgb(31, 155, 49)
HSLhsl(129, 67%, 36%)
HSVhsv(129, 80%, 61%)
CMYKcmyk(80%, 0%, 68.4%, 39.2%)
CIE-LABlab(56.04, -53.97, 44.66)
CIE-LCHlch(56.04, 70.05, 140.39°)
OKLaboklab(60.33% -0.1457 0.103)
OKLCHoklch(60.33% 0.178 144.7)
XYZxyz(12.8399, 23.9542, 6.8521)
Luminance0.2396 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9B31 #9B1F89
analogous
#4B9B1F #1F9B31 #1F9B6F
triadic
#1F9B31 #311F9B #9B311F
tetradic
#1F9B31 #1F4B9B #9B1F89 #9B6F1F
square
#1F9B31 #1F4B9B #9B1F89 #9B6F1F
split-complementary
#1F9B31 #6F1F9B #9B1F4B
monochromatic
#0B3511 #156821 #1F9B31 #29CE41 #57DD6B

Accessibility & contrast

On white

3.63
#1F9B31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#1F9B31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9B31
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9B31#FFFFFF#000000##000000
##1F9B311.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C23
Deuteranopia (green-blind)
#90833B
Tritanopia (blue-blind)
#009785
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #1f9b31;
/* rgb */ color: rgb(31, 155, 49);
/* oklch */ color: oklch(60.3% 0.178 144.7);
Tailwind
colors: {
  custom: {
    50: '#72ba6e',
    500: '#1f9b31',
    950: '#000000',
  },
}
SCSS
$custom: #1f9b31;
$custom-light: #72ba6e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9b31",
  "rgb": {
    "r": 31,
    "g": 155,
    "b": 49
  },
  "hsl": {
    "h": 128.71,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60329,
    "c": 0.17842,
    "h": 144.7
  },
  "luminance": 0.23956
}

Semantic roles & 50–950 ramp

primary
#1F9B31
secondary
#C155B1
accent
#3ED1EA
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091207
muted
#7B817A

Preview Lab

Preview with #1F9B31

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

Preview Lab → · Contrast checker → · Palette generator →

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