#1FAB27#1FAB27

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

Color values

HEX#1FAB27
RGBrgb(31, 171, 39)
HSLhsl(123, 69%, 40%)
HSVhsv(123, 82%, 67%)
CMYKcmyk(81.9%, 0%, 77.2%, 32.9%)
CIE-LABlab(61.27, -59.95, 53.85)
CIE-LCHlch(61.27, 80.58, 138.07°)
OKLaboklab(64.66% -0.1624 0.1209)
OKLCHoklch(64.66% 0.202 143.3)
XYZxyz(15.4932, 29.5617, 6.8085)
Luminance0.2956 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FAB27 #AB1FA3
analogous
#5DAB1F #1FAB27 #1FAB6D
triadic
#1FAB27 #271FAB #AB271F
tetradic
#1FAB27 #1F5DAB #AB1FA3 #AB6D1F
square
#1FAB27 #1F5DAB #AB1FA3 #AB6D1F
split-complementary
#1FAB27 #6D1FAB #AB1F5D
monochromatic
#0C430F #16771B #1FAB27 #2ED938 #62E369

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1FAB27#FFFFFF#000000##000000
##1FAB271.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)
#AF9A06
Deuteranopia (green-blind)
#A09036
Tritanopia (blue-blind)
#00A692
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #1fab27;
/* rgb */ color: rgb(31, 171, 39);
/* oklch */ color: oklch(64.7% 0.202 143.3);
Tailwind
colors: {
  custom: {
    50: '#76c56b',
    500: '#1fab27',
    950: '#000000',
  },
}
SCSS
$custom: #1fab27;
$custom-light: #76c56b;
$custom-dark: #000000;
JSON
{
  "hex": "#1fab27",
  "rgb": {
    "r": 31,
    "g": 171,
    "b": 39
  },
  "hsl": {
    "h": 123.429,
    "s": 69.307,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64657,
    "c": 0.20247,
    "h": 143.3
  },
  "luminance": 0.29564
}

Semantic roles & 50–950 ramp

primary
#1FAB27
secondary
#C75EC1
accent
#3CE2EC
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0A1307
muted
#7C827A

Preview Lab

Preview with #1FAB27

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

Preview Lab → · Contrast checker → · Palette generator →

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