#1FA028#1FA028

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

Color values

HEX#1FA028
RGBrgb(31, 160, 40)
HSLhsl(124, 68%, 37%)
HSVhsv(124, 81%, 63%)
CMYKcmyk(80.6%, 0%, 75%, 37.3%)
CIE-LABlab(57.64, -56.42, 49.89)
CIE-LCHlch(57.64, 75.31, 138.52°)
OKLaboklab(61.64% -0.1527 0.1128)
OKLCHoklch(61.64% 0.19 143.6)
XYZxyz(13.5180, 25.5845, 6.2329)
Luminance0.2559 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA028 #A01F97
analogous
#57A01F #1FA028 #1FA068
triadic
#1FA028 #281FA0 #A0281F
tetradic
#1FA028 #1F57A0 #A01F97 #A0681F
square
#1FA028 #1F57A0 #A01F97 #A0681F
split-complementary
#1FA028 #681FA0 #A01F57
monochromatic
#0B390E #156D1B #1FA028 #29D335 #5ADF64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1FA028#FFFFFF#000000##000000
##1FA0281.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)
#A39010
Deuteranopia (green-blind)
#958735
Tritanopia (blue-blind)
#009B89
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #1fa028;
/* rgb */ color: rgb(31, 160, 40);
/* oklch */ color: oklch(61.6% 0.190 143.6);
Tailwind
colors: {
  custom: {
    50: '#73bd6a',
    500: '#1fa028',
    950: '#000000',
  },
}
SCSS
$custom: #1fa028;
$custom-light: #73bd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa028",
  "rgb": {
    "r": 31,
    "g": 160,
    "b": 40
  },
  "hsl": {
    "h": 124.186,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61636,
    "c": 0.1899,
    "h": 143.6
  },
  "luminance": 0.25586
}

Semantic roles & 50–950 ramp

primary
#1FA028
secondary
#C358BC
accent
#3DDEEA
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #1FA028

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

Preview Lab → · Contrast checker → · Palette generator →

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