#1FAF48#1FAF48

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

Color values

HEX#1FAF48
RGBrgb(31, 175, 72)
HSLhsl(137, 70%, 40%)
HSVhsv(137, 82%, 69%)
CMYKcmyk(82.3%, 0%, 58.9%, 31.4%)
CIE-LABlab(62.86, -57.84, 41.99)
CIE-LCHlch(62.86, 71.48, 144.02°)
OKLaboklab(66.06% -0.1554 0.0995)
OKLCHoklch(66.06% 0.185 147.4)
XYZxyz(17.0634, 31.4170, 11.2944)
Luminance0.3142 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FAF48 #AF1F86
analogous
#3EAF1F #1FAF48 #1FAF90
triadic
#1FAF48 #481FAF #AF481F
tetradic
#1FAF48 #1F3EAF #AF1F86 #AF901F
square
#1FAF48 #1F3EAF #AF1F86 #AF901F
split-complementary
#1FAF48 #901FAF #AF1F3E
monochromatic
#0D471D #167B33 #1FAF48 #31DA61 #65E489

Accessibility & contrast

On white

2.88
#1FAF48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1FAF48#FFFFFF#000000##000000
##1FAF481.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1faf48;
/* rgb */ color: rgb(31, 175, 72);
/* oklch */ color: oklch(66.1% 0.185 147.4);
Tailwind
colors: {
  custom: {
    50: '#76c87e',
    500: '#1faf48',
    950: '#000000',
  },
}
SCSS
$custom: #1faf48;
$custom-light: #76c87e;
$custom-dark: #000000;
JSON
{
  "hex": "#1faf48",
  "rgb": {
    "r": 31,
    "g": 175,
    "b": 72
  },
  "hsl": {
    "h": 137.083,
    "s": 69.903,
    "l": 40.392
  },
  "oklch": {
    "l": 0.66062,
    "c": 0.18453,
    "h": 147.4
  },
  "luminance": 0.31419
}

Semantic roles & 50–950 ramp

primary
#1FAF48
secondary
#C961AB
accent
#3BBAED
background
#F7FCF7
surface
#EEF8EE
border
#C9D1C9
text
#0A130A
muted
#7C827C

Preview Lab

Preview with #1FAF48

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

Preview Lab → · Contrast checker → · Palette generator →

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