#1FA852#1FA852

#1FA852 is a light, vivid green. Relative luminance 0.289; OKLCH L 64.3% C 0.167 H 150.0°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#1FA852
RGBrgb(31, 168, 82)
HSLhsl(142, 69%, 39%)
HSVhsv(142, 82%, 66%)
CMYKcmyk(81.5%, 0%, 51.2%, 34.1%)
CIE-LABlab(60.70, -54.00, 34.49)
CIE-LCHlch(60.70, 64.07, 147.44°)
OKLaboklab(64.31% -0.1449 0.0836)
OKLCHoklch(64.31% 0.167 150)
XYZxyz(16.0893, 28.9038, 12.7120)
Luminance0.2891 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA852 #A81F75
analogous
#31A81F #1FA852 #1FA897
triadic
#1FA852 #521FA8 #A8521F
tetradic
#1FA852 #1F31A8 #A81F75 #A8971F
square
#1FA852 #1F31A8 #A81F75 #A8971F
split-complementary
#1FA852 #971FA8 #A81F31
monochromatic
#0C4120 #157439 #1FA852 #2CD86C #60E290

Accessibility & contrast

On white

3.10
#1FA852 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#1FA852 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1FA852
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1FA852#FFFFFF#000000##000000
##1FA8521.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9994B
Deuteranopia (green-blind)
#9A8E58
Tritanopia (blue-blind)
#00A594
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #1fa852;
/* rgb */ color: rgb(31, 168, 82);
/* oklch */ color: oklch(64.3% 0.167 150.0);
Tailwind
colors: {
  custom: {
    50: '#74c384',
    500: '#1fa852',
    950: '#000000',
  },
}
SCSS
$custom: #1fa852;
$custom-light: #74c384;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa852",
  "rgb": {
    "r": 31,
    "g": 168,
    "b": 82
  },
  "hsl": {
    "h": 142.336,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.64309,
    "c": 0.1673,
    "h": 150
  },
  "luminance": 0.28906
}

Semantic roles & 50–950 ramp

primary
#1FA852
secondary
#C65D9F
accent
#3CAAEC
background
#F7FCF8
surface
#EEF8EF
border
#C9D1CA
text
#0A130B
muted
#7C827C

Preview Lab

Preview with #1FA852

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

Preview Lab → · Contrast checker → · Palette generator →

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