#1FA72D#1FA72D

#1FA72D is a light, vivid green. Relative luminance 0.281; OKLCH L 63.6% C 0.195 H 143.9°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#1FA72D
RGBrgb(31, 167, 45)
HSLhsl(126, 69%, 39%)
HSVhsv(126, 81%, 65%)
CMYKcmyk(81.4%, 0%, 73.1%, 34.5%)
CIE-LABlab(59.99, -58.22, 50.43)
CIE-LCHlch(59.99, 77.02, 139.11°)
OKLaboklab(63.6% -0.1574 0.1146)
OKLCHoklch(63.6% 0.195 143.9)
XYZxyz(14.8564, 28.1164, 7.1261)
Luminance0.2812 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA72D #A71F99
analogous
#55A71F #1FA72D #1FA771
triadic
#1FA72D #2D1FA7 #A72D1F
tetradic
#1FA72D #1F55A7 #A71F99 #A7711F
square
#1FA72D #1F55A7 #A71F99 #A7711F
split-complementary
#1FA72D #711FA7 #A71F55
monochromatic
#0C4011 #15731F #1FA72D #2BD83D #5FE16C

Accessibility & contrast

On white

3.17
#1FA72D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#1FA72D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1FA72D
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1FA72D#FFFFFF#000000##000000
##1FA72D1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9718
Deuteranopia (green-blind)
#9C8D3A
Tritanopia (blue-blind)
#00A28F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #1fa72d;
/* rgb */ color: rgb(31, 167, 45);
/* oklch */ color: oklch(63.6% 0.195 143.9);
Tailwind
colors: {
  custom: {
    50: '#75c26d',
    500: '#1fa72d',
    950: '#000000',
  },
}
SCSS
$custom: #1fa72d;
$custom-light: #75c26d;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa72d",
  "rgb": {
    "r": 31,
    "g": 167,
    "b": 45
  },
  "hsl": {
    "h": 126.176,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.63604,
    "c": 0.19472,
    "h": 143.9
  },
  "luminance": 0.28118
}

Semantic roles & 50–950 ramp

primary
#1FA72D
secondary
#C65CBB
accent
#3CD9EC
background
#F7FCF6
surface
#EEF8EC
border
#C9D1C7
text
#0A1307
muted
#7C827A

Preview Lab

Preview with #1FA72D

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

Preview Lab → · Contrast checker → · Palette generator →

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