#1FA838#1FA838

#1FA838 is a light, vivid green. Relative luminance 0.286; OKLCH L 64.0% C 0.189 H 145.2°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#1FA838
RGBrgb(31, 168, 56)
HSLhsl(131, 69%, 39%)
HSVhsv(131, 82%, 66%)
CMYKcmyk(81.5%, 0%, 66.7%, 34.1%)
CIE-LABlab(60.41, -57.48, 46.42)
CIE-LCHlch(60.41, 73.88, 141.07°)
OKLaboklab(63.98% -0.1549 0.1075)
OKLCHoklch(63.98% 0.189 145.2)
XYZxyz(15.2804, 28.5802, 8.4518)
Luminance0.2858 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA838 #A81F8F
analogous
#4BA81F #1FA838 #1FA87D
triadic
#1FA838 #381FA8 #A8381F
tetradic
#1FA838 #1F4BA8 #A81F8F #A87D1F
square
#1FA838 #1F4BA8 #A81F8F #A87D1F
split-complementary
#1FA838 #7D1FA8 #A81F4B
monochromatic
#0C4116 #157427 #1FA838 #2CD84B #60E277

Accessibility & contrast

On white

3.13
#1FA838 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#1FA838 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1FA838
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1FA838#FFFFFF#000000##000000
##1FA8381.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB982A
Deuteranopia (green-blind)
#9C8E42
Tritanopia (blue-blind)
#00A491
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #1fa838;
/* rgb */ color: rgb(31, 168, 56);
/* oklch */ color: oklch(64.0% 0.189 145.2);
Tailwind
colors: {
  custom: {
    50: '#75c374',
    500: '#1fa838',
    950: '#000000',
  },
}
SCSS
$custom: #1fa838;
$custom-light: #75c374;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa838",
  "rgb": {
    "r": 31,
    "g": 168,
    "b": 56
  },
  "hsl": {
    "h": 130.949,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.63977,
    "c": 0.18857,
    "h": 145.2
  },
  "luminance": 0.28582
}

Semantic roles & 50–950 ramp

primary
#1FA838
secondary
#C65DB3
accent
#3CCCEC
background
#F7FCF7
surface
#EEF8ED
border
#C9D1C8
text
#0A1308
muted
#7C827B

Preview Lab

Preview with #1FA838

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

Preview Lab → · Contrast checker → · Palette generator →

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