#F5DC73#F5DC73

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

Color values

HEX#F5DC73
RGBrgb(245, 220, 115)
HSLhsl(48, 87%, 71%)
HSVhsv(48, 53%, 96%)
CMYKcmyk(0%, 10.2%, 53.1%, 3.9%)
CIE-LABlab(87.89, -4.27, 54.11)
CIE-LCHlch(87.89, 54.28, 94.51°)
OKLaboklab(89.42% -0.0139 0.1275)
OKLCHoklch(89.42% 0.128 96.2)
XYZxyz(66.3463, 71.8395, 26.5880)
Luminance0.7184 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DC73 #738CF5
analogous
#F59B73 #F5DC73 #CDF573
triadic
#F5DC73 #73F5DC #DC73F5
tetradic
#F5DC73 #73F59B #738CF5 #F573CD
square
#F5DC73 #73F59B #738CF5 #F573CD
split-complementary
#F5DC73 #73CDF5 #9B73F5
monochromatic
#DEB610 #F1CE3A #F5DC73 #F9EAAC #FDF8E2

Accessibility & contrast

On white

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

On black

15.37
#F5DC73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DC73
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DC73#FFFFFF#000000##000000
##F5DC731.001.3715.3715.37
#FFFFFF1.371.0021.0021.00
#00000015.3721.001.001.00
##00000015.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5dc73;
/* rgb */ color: rgb(245, 220, 115);
/* oklch */ color: oklch(89.4% 0.128 96.2);
Tailwind
colors: {
  custom: {
    50: '#fbe69e',
    500: '#f5dc73',
    950: '#000000',
  },
}
SCSS
$custom: #f5dc73;
$custom-light: #fbe69e;
$custom-dark: #000000;
JSON
{
  "hex": "#f5dc73",
  "rgb": {
    "r": 245,
    "g": 220,
    "b": 115
  },
  "hsl": {
    "h": 48.462,
    "s": 86.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.89419,
    "c": 0.12824,
    "h": 96.2
  },
  "luminance": 0.71837
}

Semantic roles & 50–950 ramp

primary
#F5DC73
secondary
#3D59CF
accent
#2EE302
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F5DC73

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

Preview Lab → · Contrast checker → · Palette generator →

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