#1F9729#1F9729

#1F9729 is a mid, vivid green. Relative luminance 0.226; OKLCH L 59.1% C 0.179 H 143.8°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#1F9729
RGBrgb(31, 151, 41)
HSLhsl(125, 66%, 36%)
HSVhsv(125, 79%, 59%)
CMYKcmyk(79.5%, 0%, 72.8%, 40.8%)
CIE-LABlab(54.64, -53.44, 46.45)
CIE-LCHlch(54.64, 70.80, 139.00°)
OKLaboklab(59.14% -0.1446 0.1058)
OKLCHoklch(59.14% 0.179 143.8)
XYZxyz(12.0311, 22.5832, 5.8223)
Luminance0.2258 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9729 #971F8D
analogous
#51971F #1F9729 #1F9765
triadic
#1F9729 #291F97 #97291F
tetradic
#1F9729 #1F5197 #971F8D #97651F
square
#1F9729 #1F5197 #971F8D #97651F
split-complementary
#1F9729 #651F97 #971F51
monochromatic
#0A310D #15641B #1F9729 #29CA37 #54DC60

Accessibility & contrast

On white

3.81
#1F9729 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#1F9729 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9729
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9729#FFFFFF#000000##000000
##1F97291.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8817
Deuteranopia (green-blind)
#8D7F34
Tritanopia (blue-blind)
#009381
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #1f9729;
/* rgb */ color: rgb(31, 151, 41);
/* oklch */ color: oklch(59.1% 0.179 143.8);
Tailwind
colors: {
  custom: {
    50: '#71b769',
    500: '#1f9729',
    950: '#000000',
  },
}
SCSS
$custom: #1f9729;
$custom-light: #71b769;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9729",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 41
  },
  "hsl": {
    "h": 125,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59144,
    "c": 0.17913,
    "h": 143.8
  },
  "luminance": 0.22585
}

Semantic roles & 50–950 ramp

primary
#1F9729
secondary
#BF52B6
accent
#3FDBE9
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #1F9729

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

Preview Lab → · Contrast checker → · Palette generator →

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