#1FA02D#1FA02D

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

Color values

HEX#1FA02D
RGBrgb(31, 160, 45)
HSLhsl(127, 68%, 37%)
HSVhsv(127, 81%, 63%)
CMYKcmyk(80.6%, 0%, 71.9%, 37.3%)
CIE-LABlab(57.68, -55.99, 48.03)
CIE-LCHlch(57.68, 73.77, 139.38°)
OKLaboklab(61.68% -0.1514 0.1096)
OKLCHoklch(61.68% 0.187 144.1)
XYZxyz(13.6086, 25.6207, 6.7102)
Luminance0.2562 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA02D #A01F92
analogous
#51A01F #1FA02D #1FA06E
triadic
#1FA02D #2D1FA0 #A02D1F
tetradic
#1FA02D #1F51A0 #A01F92 #A06E1F
square
#1FA02D #1F51A0 #A01F92 #A06E1F
split-complementary
#1FA02D #6E1FA0 #A01F51
monochromatic
#0B3910 #156D1F #1FA02D #29D33B #5ADF69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1FA02D#FFFFFF#000000##000000
##1FA02D1.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)
#A3901A
Deuteranopia (green-blind)
#958739
Tritanopia (blue-blind)
#009B89
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #1fa02d;
/* rgb */ color: rgb(31, 160, 45);
/* oklch */ color: oklch(61.7% 0.187 144.1);
Tailwind
colors: {
  custom: {
    50: '#73bd6d',
    500: '#1fa02d',
    950: '#000000',
  },
}
SCSS
$custom: #1fa02d;
$custom-light: #73bd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa02d",
  "rgb": {
    "r": 31,
    "g": 160,
    "b": 45
  },
  "hsl": {
    "h": 126.512,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61676,
    "c": 0.18686,
    "h": 144.1
  },
  "luminance": 0.25622
}

Semantic roles & 50–950 ramp

primary
#1FA02D
secondary
#C358B7
accent
#3DD8EA
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #1FA02D

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

Preview Lab → · Contrast checker → · Palette generator →

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