#1FA038#1FA038

#1FA038 is a mid, vivid green. Relative luminance 0.257; OKLCH L 61.8% C 0.179 H 145.6°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#1FA038
RGBrgb(31, 160, 56)
HSLhsl(132, 68%, 37%)
HSVhsv(132, 81%, 63%)
CMYKcmyk(80.6%, 0%, 65%, 37.3%)
CIE-LABlab(57.77, -54.86, 43.51)
CIE-LCHlch(57.77, 70.02, 141.58°)
OKLaboklab(61.78% -0.1478 0.1013)
OKLCHoklch(61.78% 0.179 145.6)
XYZxyz(13.8487, 25.7168, 7.9746)
Luminance0.2572 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA038 #A01F87
analogous
#46A01F #1FA038 #1FA079
triadic
#1FA038 #381FA0 #A0381F
tetradic
#1FA038 #1F46A0 #A01F87 #A0791F
square
#1FA038 #1F46A0 #A01F87 #A0791F
split-complementary
#1FA038 #791FA0 #A01F46
monochromatic
#0B3914 #156D26 #1FA038 #29D34A #5ADF74

Accessibility & contrast

On white

3.42
#1FA038 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#1FA038 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1FA038
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1FA038#FFFFFF#000000##000000
##1FA0381.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1fa038;
/* rgb */ color: rgb(31, 160, 56);
/* oklch */ color: oklch(61.8% 0.179 145.6);
Tailwind
colors: {
  custom: {
    50: '#73bd73',
    500: '#1fa038',
    950: '#000000',
  },
}
SCSS
$custom: #1fa038;
$custom-light: #73bd73;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa038",
  "rgb": {
    "r": 31,
    "g": 160,
    "b": 56
  },
  "hsl": {
    "h": 131.628,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61782,
    "c": 0.17921,
    "h": 145.6
  },
  "luminance": 0.25718
}

Semantic roles & 50–950 ramp

primary
#1FA038
secondary
#C358AE
accent
#3DC9EA
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#091208
muted
#7B817B

Preview Lab

Preview with #1FA038

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

Preview Lab → · Contrast checker → · Palette generator →

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