#1FA02F#1FA02F

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

Color values

HEX#1FA02F
RGBrgb(31, 160, 47)
HSLhsl(127, 68%, 37%)
HSVhsv(127, 81%, 63%)
CMYKcmyk(80.6%, 0%, 70.6%, 37.3%)
CIE-LABlab(57.69, -55.80, 47.25)
CIE-LCHlch(57.69, 73.12, 139.75°)
OKLaboklab(61.69% -0.1508 0.1082)
OKLCHoklch(61.69% 0.186 144.3)
XYZxyz(13.6480, 25.6365, 6.9178)
Luminance0.2564 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA02F #A01F90
analogous
#4FA01F #1FA02F #1FA070
triadic
#1FA02F #2F1FA0 #A02F1F
tetradic
#1FA02F #1F4FA0 #A01F90 #A0701F
square
#1FA02F #1F4FA0 #A01F90 #A0701F
split-complementary
#1FA02F #701FA0 #A01F4F
monochromatic
#0B3911 #156D20 #1FA02F #29D33E #5ADF6B

Accessibility & contrast

On white

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

On black

6.13
#1FA02F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1FA02F
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1FA02F#FFFFFF#000000##000000
##1FA02F1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3901E
Deuteranopia (green-blind)
#95873A
Tritanopia (blue-blind)
#009C89
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #1fa02f;
/* rgb */ color: rgb(31, 160, 47);
/* oklch */ color: oklch(61.7% 0.186 144.3);
Tailwind
colors: {
  custom: {
    50: '#73bd6e',
    500: '#1fa02f',
    950: '#000000',
  },
}
SCSS
$custom: #1fa02f;
$custom-light: #73bd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa02f",
  "rgb": {
    "r": 31,
    "g": 160,
    "b": 47
  },
  "hsl": {
    "h": 127.442,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61693,
    "c": 0.18556,
    "h": 144.3
  },
  "luminance": 0.25638
}

Semantic roles & 50–950 ramp

primary
#1FA02F
secondary
#C358B6
accent
#3DD5EA
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #1FA02F

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

Preview Lab → · Contrast checker → · Palette generator →

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