#1F9831#1F9831

#1F9831 is a mid, vivid green. Relative luminance 0.230; OKLCH L 59.5% C 0.175 H 144.8°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#1F9831
RGBrgb(31, 152, 49)
HSLhsl(129, 66%, 36%)
HSVhsv(129, 80%, 60%)
CMYKcmyk(79.6%, 0%, 67.8%, 40.4%)
CIE-LABlab(55.04, -52.98, 43.57)
CIE-LCHlch(55.04, 68.59, 140.56°)
OKLaboklab(59.5% -0.143 0.1007)
OKLCHoklch(59.5% 0.175 144.8)
XYZxyz(12.3468, 22.9681, 6.6877)
Luminance0.2297 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9831 #981F86
analogous
#49981F #1F9831 #1F986D
triadic
#1F9831 #311F98 #98311F
tetradic
#1F9831 #1F4998 #981F86 #986D1F
square
#1F9831 #1F4998 #981F86 #986D1F
split-complementary
#1F9831 #6D1F98 #981F49
monochromatic
#0A3210 #156521 #1F9831 #29CB41 #55DC69

Accessibility & contrast

On white

3.75
#1F9831 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#1F9831 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9831
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9831#FFFFFF#000000##000000
##1F98311.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f9831;
/* rgb */ color: rgb(31, 152, 49);
/* oklch */ color: oklch(59.5% 0.175 144.8);
Tailwind
colors: {
  custom: {
    50: '#71b76e',
    500: '#1f9831',
    950: '#000000',
  },
}
SCSS
$custom: #1f9831;
$custom-light: #71b76e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9831",
  "rgb": {
    "r": 31,
    "g": 152,
    "b": 49
  },
  "hsl": {
    "h": 128.926,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59496,
    "c": 0.17488,
    "h": 144.8
  },
  "luminance": 0.2297
}

Semantic roles & 50–950 ramp

primary
#1F9831
secondary
#C053B0
accent
#3FD0E9
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #1F9831

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

Preview Lab → · Contrast checker → · Palette generator →

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