#1FAB28#1FAB28

#1FAB28 is a light, highly saturated green. Relative luminance 0.296; OKLCH L 64.7% C 0.202 H 143.4°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#1FAB28
RGBrgb(31, 171, 40)
HSLhsl(124, 69%, 40%)
HSVhsv(124, 82%, 67%)
CMYKcmyk(81.9%, 0%, 76.6%, 32.9%)
CIE-LABlab(61.28, -59.87, 53.52)
CIE-LCHlch(61.28, 80.31, 138.21°)
OKLaboklab(64.66% -0.1621 0.1204)
OKLCHoklch(64.66% 0.202 143.4)
XYZxyz(15.5100, 29.5684, 6.8969)
Luminance0.2957 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FAB28 #AB1FA2
analogous
#5CAB1F #1FAB28 #1FAB6E
triadic
#1FAB28 #281FAB #AB281F
tetradic
#1FAB28 #1F5CAB #AB1FA2 #AB6E1F
square
#1FAB28 #1F5CAB #AB1FA2 #AB6E1F
split-complementary
#1FAB28 #6E1FAB #AB1F5C
monochromatic
#0C4310 #16771C #1FAB28 #2ED939 #62E36A

Accessibility & contrast

On white

3.04
#1FAB28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#1FAB28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1FAB28
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1FAB28#FFFFFF#000000##000000
##1FAB281.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A09
Deuteranopia (green-blind)
#A09037
Tritanopia (blue-blind)
#00A692
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #1fab28;
/* rgb */ color: rgb(31, 171, 40);
/* oklch */ color: oklch(64.7% 0.202 143.4);
Tailwind
colors: {
  custom: {
    50: '#76c56b',
    500: '#1fab28',
    950: '#000000',
  },
}
SCSS
$custom: #1fab28;
$custom-light: #76c56b;
$custom-dark: #000000;
JSON
{
  "hex": "#1fab28",
  "rgb": {
    "r": 31,
    "g": 171,
    "b": 40
  },
  "hsl": {
    "h": 123.857,
    "s": 69.307,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64664,
    "c": 0.20194,
    "h": 143.4
  },
  "luminance": 0.2957
}

Semantic roles & 50–950 ramp

primary
#1FAB28
secondary
#C75EC1
accent
#3CE1EC
background
#F7FCF6
surface
#EEF8EC
border
#C9D1C7
text
#0A1307
muted
#7C827A

Preview Lab

Preview with #1FAB28

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

Preview Lab → · Contrast checker → · Palette generator →

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