#FFE971#FFE971

#FFE971 is a very light, vivid yellow. Relative luminance 0.807; OKLCH L 92.9% C 0.142 H 99.1°. Best body text is #000000 at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#FFE971
RGBrgb(255, 233, 113)
HSLhsl(51, 100%, 72%)
HSVhsv(51, 56%, 100%)
CMYKcmyk(0%, 8.6%, 55.7%, 0%)
CIE-LABlab(92.01, -6.92, 60.06)
CIE-LCHlch(92.01, 60.45, 96.58°)
OKLaboklab(92.88% -0.0223 0.14)
OKLCHoklch(92.88% 0.142 99.1)
XYZxyz(73.3622, 80.7331, 27.3383)
Luminance0.8073 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE971 #7187FF
analogous
#FFA271 #FFE971 #CEFF71
triadic
#FFE971 #71FFE9 #E971FF
tetradic
#FFE971 #71FFA2 #7187FF #FF71CE
square
#FFE971 #71FFA2 #7187FF #FF71CE
split-complementary
#FFE971 #71CEFF #A271FF
monochromatic
#F6D000 #FFE034 #FFE971 #FFF2AE #FFFAE0

Accessibility & contrast

On white

1.22
#FFE971 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.15
#FFE971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE971
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE971#FFFFFF#000000##000000
##FFE9711.001.2217.1517.15
#FFFFFF1.221.0021.0021.00
#00000017.1521.001.001.00
##00000017.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE365
Deuteranopia (green-blind)
#FFEC77
Tritanopia (blue-blind)
#FFDACE
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ffe971;
/* rgb */ color: rgb(255, 233, 113);
/* oklch */ color: oklch(92.9% 0.142 99.1);
Tailwind
colors: {
  custom: {
    50: '#ffef9d',
    500: '#ffe971',
    950: '#000000',
  },
}
SCSS
$custom: #ffe971;
$custom-light: #ffef9d;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe971",
  "rgb": {
    "r": 255,
    "g": 233,
    "b": 113
  },
  "hsl": {
    "h": 50.704,
    "s": 100,
    "l": 72.157
  },
  "oklch": {
    "l": 0.92879,
    "c": 0.14175,
    "h": 99.1
  },
  "luminance": 0.8073
}

Semantic roles & 50–950 ramp

primary
#FFE971
secondary
#3852DC
accent
#24E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #FFE971

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

Preview Lab → · Contrast checker → · Palette generator →

#FFE971 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva