#FFE771#FFE771

#FFE771 is a very light, vivid yellow. Relative luminance 0.796; OKLCH L 92.5% C 0.140 H 98.0°. Best body text is #000000 at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#FFE771
RGBrgb(255, 231, 113)
HSLhsl(50, 100%, 72%)
HSVhsv(50, 56%, 100%)
CMYKcmyk(0%, 9.4%, 55.7%, 0%)
CIE-LABlab(91.51, -5.92, 59.48)
CIE-LCHlch(91.51, 59.77, 95.69°)
OKLaboklab(92.48% -0.0195 0.1387)
OKLCHoklch(92.48% 0.14 98)
XYZxyz(72.7992, 79.6071, 27.1506)
Luminance0.7960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE771 #7189FF
analogous
#FFA071 #FFE771 #D0FF71
triadic
#FFE771 #71FFE7 #E771FF
tetradic
#FFE771 #71FFA0 #7189FF #FF71D0
square
#FFE771 #71FFA0 #7189FF #FF71D0
split-complementary
#FFE771 #71D0FF #A071FF
monochromatic
#F6CC00 #FFDD34 #FFE771 #FFF1AE #FFFAE0

Accessibility & contrast

On white

1.24
#FFE771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.92
#FFE771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE771
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE771#FFFFFF#000000##000000
##FFE7711.001.2416.9216.92
#FFFFFF1.241.0021.0021.00
#00000016.9221.001.001.00
##00000016.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE265
Deuteranopia (green-blind)
#FFEA76
Tritanopia (blue-blind)
#FFD8CD
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #ffe771;
/* rgb */ color: rgb(255, 231, 113);
/* oklch */ color: oklch(92.5% 0.140 98.0);
Tailwind
colors: {
  custom: {
    50: '#ffee9d',
    500: '#ffe771',
    950: '#000000',
  },
}
SCSS
$custom: #ffe771;
$custom-light: #ffee9d;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe771",
  "rgb": {
    "r": 255,
    "g": 231,
    "b": 113
  },
  "hsl": {
    "h": 49.859,
    "s": 100,
    "l": 72.157
  },
  "oklch": {
    "l": 0.92479,
    "c": 0.14008,
    "h": 98
  },
  "luminance": 0.79604
}

Semantic roles & 50–950 ramp

primary
#FFE771
secondary
#3854DC
accent
#27E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #FFE771

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

Preview Lab → · Contrast checker → · Palette generator →

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