#1FA848#1FA848

#1FA848 is a light, vivid green. Relative luminance 0.288; OKLCH L 64.2% C 0.176 H 147.9°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#1FA848
RGBrgb(31, 168, 72)
HSLhsl(138, 69%, 39%)
HSVhsv(138, 82%, 66%)
CMYKcmyk(81.5%, 0%, 57.1%, 34.1%)
CIE-LABlab(60.57, -55.50, 39.29)
CIE-LCHlch(60.57, 68.00, 144.70°)
OKLaboklab(64.16% -0.1491 0.0936)
OKLCHoklch(64.16% 0.176 147.9)
XYZxyz(15.7361, 28.7625, 10.8520)
Luminance0.2876 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA848 #A81F7F
analogous
#3BA81F #1FA848 #1FA88D
triadic
#1FA848 #481FA8 #A8481F
tetradic
#1FA848 #1F3BA8 #A81F7F #A88D1F
square
#1FA848 #1F3BA8 #A81F7F #A88D1F
split-complementary
#1FA848 #8D1FA8 #A81F3B
monochromatic
#0C411C #157432 #1FA848 #2CD860 #60E287

Accessibility & contrast

On white

3.11
#1FA848 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#1FA848 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1FA848
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1FA848#FFFFFF#000000##000000
##1FA8481.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA983F
Deuteranopia (green-blind)
#9B8E50
Tritanopia (blue-blind)
#00A493
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #1fa848;
/* rgb */ color: rgb(31, 168, 72);
/* oklch */ color: oklch(64.2% 0.176 147.9);
Tailwind
colors: {
  custom: {
    50: '#74c37e',
    500: '#1fa848',
    950: '#000000',
  },
}
SCSS
$custom: #1fa848;
$custom-light: #74c37e;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa848",
  "rgb": {
    "r": 31,
    "g": 168,
    "b": 72
  },
  "hsl": {
    "h": 137.956,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.64164,
    "c": 0.17602,
    "h": 147.9
  },
  "luminance": 0.28764
}

Semantic roles & 50–950 ramp

primary
#1FA848
secondary
#C65DA7
accent
#3CB7EC
background
#F7FCF7
surface
#EEF8EE
border
#C9D1C9
text
#0A130A
muted
#7C827C

Preview Lab

Preview with #1FA848

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

Preview Lab → · Contrast checker → · Palette generator →

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