#1FAF26#1FAF26

#1FAF26 is a light, highly saturated green. Relative luminance 0.311; OKLCH L 65.7% C 0.207 H 143.2°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#1FAF26
RGBrgb(31, 175, 38)
HSLhsl(123, 70%, 40%)
HSVhsv(123, 82%, 69%)
CMYKcmyk(82.3%, 0%, 78.3%, 31.4%)
CIE-LABlab(62.58, -61.25, 55.45)
CIE-LCHlch(62.58, 82.62, 137.84°)
OKLaboklab(65.75% -0.1659 0.1242)
OKLCHoklch(65.75% 0.207 143.2)
XYZxyz(16.2438, 31.0892, 6.9781)
Luminance0.3109 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FAF26 #AF1FA8
analogous
#60AF1F #1FAF26 #1FAF6E
triadic
#1FAF26 #261FAF #AF261F
tetradic
#1FAF26 #1F60AF #AF1FA8 #AF6E1F
square
#1FAF26 #1F60AF #AF1FA8 #AF6E1F
split-complementary
#1FAF26 #6E1FAF #AF1F60
monochromatic
#0D470F #167B1B #1FAF26 #31DA39 #65E46B

Accessibility & contrast

On white

2.91
#1FAF26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#1FAF26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #1FAF26
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1FAF26#FFFFFF#000000##000000
##1FAF261.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#A49336
Tritanopia (blue-blind)
#00AA95
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #1faf26;
/* rgb */ color: rgb(31, 175, 38);
/* oklch */ color: oklch(65.7% 0.207 143.2);
Tailwind
colors: {
  custom: {
    50: '#77c86b',
    500: '#1faf26',
    950: '#000000',
  },
}
SCSS
$custom: #1faf26;
$custom-light: #77c86b;
$custom-dark: #000000;
JSON
{
  "hex": "#1faf26",
  "rgb": {
    "r": 31,
    "g": 175,
    "b": 38
  },
  "hsl": {
    "h": 122.917,
    "s": 69.903,
    "l": 40.392
  },
  "oklch": {
    "l": 0.65745,
    "c": 0.20725,
    "h": 143.2
  },
  "luminance": 0.31091
}

Semantic roles & 50–950 ramp

primary
#1FAF26
secondary
#C961C4
accent
#3BE4ED
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #1FAF26

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

Preview Lab → · Contrast checker → · Palette generator →

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