#1FA015#1FA015

#1FA015 is a mid, vivid green. Relative luminance 0.255; OKLCH L 61.5% C 0.199 H 142.1°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#1FA015
RGBrgb(31, 160, 21)
HSLhsl(116, 77%, 35%)
HSVhsv(116, 87%, 63%)
CMYKcmyk(80.6%, 0%, 86.9%, 37.3%)
CIE-LABlab(57.55, -57.62, 55.52)
CIE-LCHlch(57.55, 80.02, 136.06°)
OKLaboklab(61.53% -0.1568 0.122)
OKLCHoklch(61.53% 0.199 142.1)
XYZxyz(13.2704, 25.4855, 4.9291)
Luminance0.2549 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA015 #9615A0
analogous
#65A015 #1FA015 #15A050
triadic
#1FA015 #151FA0 #A0151F
tetradic
#1FA015 #1565A0 #9615A0 #A05015
square
#1FA015 #1565A0 #9615A0 #A05015
split-complementary
#1FA015 #5015A0 #A01565
monochromatic
#0A3407 #156A0E #1FA015 #29D61C #54E748

Accessibility & contrast

On white

3.44
#1FA015 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#1FA015 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1FA015
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1FA015#FFFFFF#000000##000000
##1FA0151.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#968729
Tritanopia (blue-blind)
#009B88
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #1fa015;
/* rgb */ color: rgb(31, 160, 21);
/* oklch */ color: oklch(61.5% 0.199 142.1);
Tailwind
colors: {
  custom: {
    50: '#74bd62',
    500: '#1fa015',
    950: '#000000',
  },
}
SCSS
$custom: #1fa015;
$custom-light: #74bd62;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa015",
  "rgb": {
    "r": 31,
    "g": 160,
    "b": 21
  },
  "hsl": {
    "h": 115.683,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.61527,
    "c": 0.19865,
    "h": 142.1
  },
  "luminance": 0.25487
}

Semantic roles & 50–950 ramp

primary
#1FA015
secondary
#BF49C8
accent
#34F3E6
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #1FA015

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

Preview Lab → · Contrast checker → · Palette generator →

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