#F5DD71#F5DD71

#F5DD71 is a very light, vivid yellow. Relative luminance 0.723; OKLCH L 89.6% C 0.131 H 97.0°. Best body text is #000000 at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#F5DD71
RGBrgb(245, 221, 113)
HSLhsl(49, 87%, 70%)
HSVhsv(49, 54%, 96%)
CMYKcmyk(0%, 9.8%, 53.9%, 3.9%)
CIE-LABlab(88.12, -4.93, 55.32)
CIE-LCHlch(88.12, 55.54, 95.10°)
OKLaboklab(89.6% -0.016 0.1299)
OKLCHoklch(89.6% 0.131 97)
XYZxyz(66.4957, 72.3204, 26.0762)
Luminance0.7232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DD71 #7189F5
analogous
#F59B71 #F5DD71 #CBF571
triadic
#F5DD71 #71F5DD #DD71F5
tetradic
#F5DD71 #71F59B #7189F5 #F571CB
square
#F5DD71 #71F59B #7189F5 #F571CB
split-complementary
#F5DD71 #71CBF5 #9B71F5
monochromatic
#DCB710 #F1CF38 #F5DD71 #F9EBAA #FDF8E2

Accessibility & contrast

On white

1.36
#F5DD71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.46
#F5DD71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DD71
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DD71#FFFFFF#000000##000000
##F5DD711.001.3615.4615.46
#FFFFFF1.361.0021.0021.00
#00000015.4621.001.001.00
##00000015.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD867
Deuteranopia (green-blind)
#F6E176
Tritanopia (blue-blind)
#FFCFC4
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f5dd71;
/* rgb */ color: rgb(245, 221, 113);
/* oklch */ color: oklch(89.6% 0.131 97.0);
Tailwind
colors: {
  custom: {
    50: '#fbe79c',
    500: '#f5dd71',
    950: '#000000',
  },
}
SCSS
$custom: #f5dd71;
$custom-light: #fbe79c;
$custom-dark: #000000;
JSON
{
  "hex": "#f5dd71",
  "rgb": {
    "r": 245,
    "g": 221,
    "b": 113
  },
  "hsl": {
    "h": 49.091,
    "s": 86.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.89595,
    "c": 0.13091,
    "h": 97
  },
  "luminance": 0.72318
}

Semantic roles & 50–950 ramp

primary
#F5DD71
secondary
#3B56CF
accent
#2BE302
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5DD71

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

Preview Lab → · Contrast checker → · Palette generator →

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