#1FA02B#1FA02B

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

Color values

HEX#1FA02B
RGBrgb(31, 160, 43)
HSLhsl(126, 68%, 37%)
HSVhsv(126, 81%, 63%)
CMYKcmyk(80.6%, 0%, 73.1%, 37.3%)
CIE-LABlab(57.66, -56.17, 48.79)
CIE-LCHlch(57.66, 74.40, 139.02°)
OKLaboklab(61.66% -0.1519 0.1109)
OKLCHoklch(61.66% 0.188 143.9)
XYZxyz(13.5710, 25.6057, 6.5122)
Luminance0.2561 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA02B #A01F94
analogous
#54A01F #1FA02B #1FA06B
triadic
#1FA02B #2B1FA0 #A02B1F
tetradic
#1FA02B #1F54A0 #A01F94 #A06B1F
square
#1FA02B #1F54A0 #A01F94 #A06B1F
split-complementary
#1FA02B #6B1FA0 #A01F54
monochromatic
#0B390F #156D1D #1FA02B #29D339 #5ADF67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1FA02B#FFFFFF#000000##000000
##1FA02B1.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)
#A39017
Deuteranopia (green-blind)
#958737
Tritanopia (blue-blind)
#009B89
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #1fa02b;
/* rgb */ color: rgb(31, 160, 43);
/* oklch */ color: oklch(61.7% 0.188 143.9);
Tailwind
colors: {
  custom: {
    50: '#73bd6c',
    500: '#1fa02b',
    950: '#000000',
  },
}
SCSS
$custom: #1fa02b;
$custom-light: #73bd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa02b",
  "rgb": {
    "r": 31,
    "g": 160,
    "b": 43
  },
  "hsl": {
    "h": 125.581,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61659,
    "c": 0.18811,
    "h": 143.9
  },
  "luminance": 0.25607
}

Semantic roles & 50–950 ramp

primary
#1FA02B
secondary
#C358B9
accent
#3DDAEA
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #1FA02B

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

Preview Lab → · Contrast checker → · Palette generator →

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