#1FA12D#1FA12D

#1FA12D is a mid, vivid green. Relative luminance 0.260; OKLCH L 62.0% C 0.188 H 144.1°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#1FA12D
RGBrgb(31, 161, 45)
HSLhsl(126, 68%, 38%)
HSVhsv(126, 81%, 63%)
CMYKcmyk(80.7%, 0%, 72%, 36.9%)
CIE-LABlab(58.01, -56.31, 48.37)
CIE-LCHlch(58.01, 74.24, 139.34°)
OKLaboklab(61.95% -0.1522 0.1103)
OKLCHoklch(61.95% 0.188 144.1)
XYZxyz(13.7827, 25.9688, 6.7682)
Luminance0.2597 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA12D #A11F93
analogous
#52A11F #1FA12D #1FA16E
triadic
#1FA12D #2D1FA1 #A12D1F
tetradic
#1FA12D #1F52A1 #A11F93 #A16E1F
square
#1FA12D #1F52A1 #A11F93 #A16E1F
split-complementary
#1FA12D #6E1FA1 #A11F52
monochromatic
#0B3A10 #156E1F #1FA12D #29D43B #5BDF69

Accessibility & contrast

On white

3.39
#1FA12D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#1FA12D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1FA12D
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1FA12D#FFFFFF#000000##000000
##1FA12D1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4911A
Deuteranopia (green-blind)
#968839
Tritanopia (blue-blind)
#009C8A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #1fa12d;
/* rgb */ color: rgb(31, 161, 45);
/* oklch */ color: oklch(62.0% 0.188 144.1);
Tailwind
colors: {
  custom: {
    50: '#73be6d',
    500: '#1fa12d',
    950: '#000000',
  },
}
SCSS
$custom: #1fa12d;
$custom-light: #73be6d;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa12d",
  "rgb": {
    "r": 31,
    "g": 161,
    "b": 45
  },
  "hsl": {
    "h": 126.462,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.61952,
    "c": 0.18799,
    "h": 144.1
  },
  "luminance": 0.25971
}

Semantic roles & 50–950 ramp

primary
#1FA12D
secondary
#C458B8
accent
#3DD8EB
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #1FA12D

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

Preview Lab → · Contrast checker → · Palette generator →

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