#1FAF45#1FAF45

#1FAF45 is a light, vivid green. Relative luminance 0.314; OKLCH L 66.0% C 0.187 H 146.9°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#1FAF45
RGBrgb(31, 175, 69)
HSLhsl(136, 70%, 40%)
HSVhsv(136, 82%, 69%)
CMYKcmyk(82.3%, 0%, 60.6%, 31.4%)
CIE-LABlab(62.83, -58.23, 43.35)
CIE-LCHlch(62.83, 72.60, 143.33°)
OKLaboklab(66.03% -0.1565 0.1022)
OKLCHoklch(66.03% 0.187 146.9)
XYZxyz(16.9679, 31.3788, 10.7915)
Luminance0.3138 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FAF45 #AF1F89
analogous
#41AF1F #1FAF45 #1FAF8D
triadic
#1FAF45 #451FAF #AF451F
tetradic
#1FAF45 #1F41AF #AF1F89 #AF8D1F
square
#1FAF45 #1F41AF #AF1F89 #AF8D1F
split-complementary
#1FAF45 #8D1FAF #AF1F41
monochromatic
#0D471C #167B31 #1FAF45 #31DA5E #65E486

Accessibility & contrast

On white

2.89
#1FAF45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#1FAF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #1FAF45
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1FAF45#FFFFFF#000000##000000
##1FAF451.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19F3A
Deuteranopia (green-blind)
#A2944E
Tritanopia (blue-blind)
#00AB98
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #1faf45;
/* rgb */ color: rgb(31, 175, 69);
/* oklch */ color: oklch(66.0% 0.187 146.9);
Tailwind
colors: {
  custom: {
    50: '#76c87c',
    500: '#1faf45',
    950: '#000000',
  },
}
SCSS
$custom: #1faf45;
$custom-light: #76c87c;
$custom-dark: #000000;
JSON
{
  "hex": "#1faf45",
  "rgb": {
    "r": 31,
    "g": 175,
    "b": 69
  },
  "hsl": {
    "h": 135.833,
    "s": 69.903,
    "l": 40.392
  },
  "oklch": {
    "l": 0.66025,
    "c": 0.18694,
    "h": 146.9
  },
  "luminance": 0.31381
}

Semantic roles & 50–950 ramp

primary
#1FAF45
secondary
#C961AD
accent
#3BBEED
background
#F7FCF7
surface
#EEF8EE
border
#C9D1C9
text
#0A130A
muted
#7C827C

Preview Lab

Preview with #1FAF45

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

Preview Lab → · Contrast checker → · Palette generator →

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