#1FA023#1FA023

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

Color values

HEX#1FA023
RGBrgb(31, 160, 35)
HSLhsl(122, 68%, 37%)
HSVhsv(122, 81%, 63%)
CMYKcmyk(80.6%, 0%, 78.1%, 37.3%)
CIE-LABlab(57.61, -56.80, 51.60)
CIE-LCHlch(57.61, 76.74, 137.75°)
OKLaboklab(61.6% -0.154 0.1157)
OKLCHoklch(61.6% 0.193 143.1)
XYZxyz(13.4384, 25.5526, 5.8137)
Luminance0.2555 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA023 #A01F9C
analogous
#5CA01F #1FA023 #1FA063
triadic
#1FA023 #231FA0 #A0231F
tetradic
#1FA023 #1F5CA0 #A01F9C #A0631F
square
#1FA023 #1F5CA0 #A01F9C #A0631F
split-complementary
#1FA023 #631FA0 #A01F5C
monochromatic
#0B390D #156D18 #1FA023 #29D32E #5ADF5E

Accessibility & contrast

On white

3.44
#1FA023 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#1FA023 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1FA023
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1FA023#FFFFFF#000000##000000
##1FA0231.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1fa023;
/* rgb */ color: rgb(31, 160, 35);
/* oklch */ color: oklch(61.6% 0.193 143.1);
Tailwind
colors: {
  custom: {
    50: '#74bd68',
    500: '#1fa023',
    950: '#000000',
  },
}
SCSS
$custom: #1fa023;
$custom-light: #74bd68;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa023",
  "rgb": {
    "r": 31,
    "g": 160,
    "b": 35
  },
  "hsl": {
    "h": 121.86,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61601,
    "c": 0.19263,
    "h": 143.1
  },
  "luminance": 0.25554
}

Semantic roles & 50–950 ramp

primary
#1FA023
secondary
#C358C0
accent
#3DE5EA
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #1FA023

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

Preview Lab → · Contrast checker → · Palette generator →

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