#F5DC71#F5DC71

#F5DC71 is a very light, vivid yellow. Relative luminance 0.718; OKLCH L 89.4% C 0.130 H 96.4°. Best body text is #000000 at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#F5DC71
RGBrgb(245, 220, 113)
HSLhsl(49, 87%, 70%)
HSVhsv(49, 54%, 96%)
CMYKcmyk(0%, 10.2%, 53.9%, 3.9%)
CIE-LABlab(87.87, -4.43, 55.02)
CIE-LCHlch(87.87, 55.20, 94.60°)
OKLaboklab(89.39% -0.0146 0.1293)
OKLCHoklch(89.39% 0.13 96.4)
XYZxyz(66.2324, 71.7940, 25.9884)
Luminance0.7179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DC71 #718AF5
analogous
#F59A71 #F5DC71 #CCF571
triadic
#F5DC71 #71F5DC #DC71F5
tetradic
#F5DC71 #71F59A #718AF5 #F571CC
square
#F5DC71 #71F59A #718AF5 #F571CC
split-complementary
#F5DC71 #71CCF5 #9A71F5
monochromatic
#DCB510 #F1CE38 #F5DC71 #F9EAAA #FDF8E2

Accessibility & contrast

On white

1.37
#F5DC71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.36
#F5DC71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DC71
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DC71#FFFFFF#000000##000000
##F5DC711.001.3715.3615.36
#FFFFFF1.371.0021.0021.00
#00000015.3621.001.001.00
##00000015.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED867
Deuteranopia (green-blind)
#F5E076
Tritanopia (blue-blind)
#FFCEC4
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f5dc71;
/* rgb */ color: rgb(245, 220, 113);
/* oklch */ color: oklch(89.4% 0.130 96.4);
Tailwind
colors: {
  custom: {
    50: '#fbe69c',
    500: '#f5dc71',
    950: '#000000',
  },
}
SCSS
$custom: #f5dc71;
$custom-light: #fbe69c;
$custom-dark: #000000;
JSON
{
  "hex": "#f5dc71",
  "rgb": {
    "r": 245,
    "g": 220,
    "b": 113
  },
  "hsl": {
    "h": 48.636,
    "s": 86.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.89394,
    "c": 0.1301,
    "h": 96.4
  },
  "luminance": 0.71791
}

Semantic roles & 50–950 ramp

primary
#F5DC71
secondary
#3B57CF
accent
#2DE302
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F5DC71

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

Preview Lab → · Contrast checker → · Palette generator →

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