#1FA123#1FA123

#1FA123 is a mid, vivid green. Relative luminance 0.259; OKLCH L 61.9% C 0.194 H 143.1°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#1FA123
RGBrgb(31, 161, 35)
HSLhsl(122, 68%, 38%)
HSVhsv(122, 81%, 63%)
CMYKcmyk(80.7%, 0%, 78.3%, 36.9%)
CIE-LABlab(57.94, -57.12, 51.93)
CIE-LCHlch(57.94, 77.19, 137.73°)
OKLaboklab(61.88% -0.1549 0.1164)
OKLCHoklch(61.88% 0.194 143.1)
XYZxyz(13.6124, 25.9007, 5.8717)
Luminance0.2590 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA123 #A11F9D
analogous
#5CA11F #1FA123 #1FA164
triadic
#1FA123 #231FA1 #A1231F
tetradic
#1FA123 #1F5CA1 #A11F9D #A1641F
square
#1FA123 #1F5CA1 #A11F9D #A1641F
split-complementary
#1FA123 #641FA1 #A11F5C
monochromatic
#0B3A0D #156E18 #1FA123 #29D42E #5BDF5F

Accessibility & contrast

On white

3.40
#1FA123 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#1FA123 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1FA123
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1FA123#FFFFFF#000000##000000
##1FA1231.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59102
Deuteranopia (green-blind)
#978832
Tritanopia (blue-blind)
#009C89
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #1fa123;
/* rgb */ color: rgb(31, 161, 35);
/* oklch */ color: oklch(61.9% 0.194 143.1);
Tailwind
colors: {
  custom: {
    50: '#74be68',
    500: '#1fa123',
    950: '#000000',
  },
}
SCSS
$custom: #1fa123;
$custom-light: #74be68;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa123",
  "rgb": {
    "r": 31,
    "g": 161,
    "b": 35
  },
  "hsl": {
    "h": 121.846,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.61878,
    "c": 0.19372,
    "h": 143.1
  },
  "luminance": 0.25902
}

Semantic roles & 50–950 ramp

primary
#1FA123
secondary
#C458C0
accent
#3DE5EB
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #1FA123

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

Preview Lab → · Contrast checker → · Palette generator →

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