#1FA02A#1FA02A

#1FA02A is a mid, vivid green. Relative luminance 0.256; OKLCH L 61.7% C 0.189 H 143.8°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#1FA02A
RGBrgb(31, 160, 42)
HSLhsl(125, 68%, 37%)
HSVhsv(125, 81%, 63%)
CMYKcmyk(80.6%, 0%, 73.8%, 37.3%)
CIE-LABlab(57.65, -56.26, 49.16)
CIE-LCHlch(57.65, 74.71, 138.85°)
OKLaboklab(61.65% -0.1522 0.1116)
OKLCHoklch(61.65% 0.189 143.8)
XYZxyz(13.5529, 25.5984, 6.4168)
Luminance0.2560 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA02A #A01F95
analogous
#55A01F #1FA02A #1FA06A
triadic
#1FA02A #2A1FA0 #A02A1F
tetradic
#1FA02A #1F55A0 #A01F95 #A06A1F
square
#1FA02A #1F55A0 #A01F95 #A06A1F
split-complementary
#1FA02A #6A1FA0 #A01F55
monochromatic
#0B390F #156D1D #1FA02A #29D337 #5ADF66

Accessibility & contrast

On white

3.43
#1FA02A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#1FA02A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1FA02A
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1FA02A#FFFFFF#000000##000000
##1FA02A1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39015
Deuteranopia (green-blind)
#958736
Tritanopia (blue-blind)
#009B89
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #1fa02a;
/* rgb */ color: rgb(31, 160, 42);
/* oklch */ color: oklch(61.7% 0.189 143.8);
Tailwind
colors: {
  custom: {
    50: '#73bd6b',
    500: '#1fa02a',
    950: '#000000',
  },
}
SCSS
$custom: #1fa02a;
$custom-light: #73bd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa02a",
  "rgb": {
    "r": 31,
    "g": 160,
    "b": 42
  },
  "hsl": {
    "h": 125.116,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61651,
    "c": 0.18872,
    "h": 143.8
  },
  "luminance": 0.256
}

Semantic roles & 50–950 ramp

primary
#1FA02A
secondary
#C358BA
accent
#3DDCEA
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #1FA02A

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

Preview Lab → · Contrast checker → · Palette generator →

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