#F5D573#F5D573

#F5D573 is a very light, vivid yellow. Relative luminance 0.682; OKLCH L 88.0% C 0.123 H 91.7°. Best body text is #000000 at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#F5D573
RGBrgb(245, 213, 115)
HSLhsl(45, 87%, 71%)
HSVhsv(45, 53%, 96%)
CMYKcmyk(0%, 13.1%, 53.1%, 3.9%)
CIE-LABlab(86.13, -0.71, 52.02)
CIE-LCHlch(86.13, 52.02, 90.78°)
OKLaboklab(88.03% -0.0036 0.1229)
OKLCHoklch(88.03% 0.123 91.7)
XYZxyz(64.5474, 68.2418, 25.9884)
Luminance0.6824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D573 #7393F5
analogous
#F59473 #F5D573 #D4F573
triadic
#F5D573 #73F5D5 #D573F5
tetradic
#F5D573 #73F594 #7393F5 #F573D4
square
#F5D573 #73F594 #7393F5 #F573D4
split-complementary
#F5D573 #73D4F5 #9473F5
monochromatic
#DEAB10 #F1C43A #F5D573 #F9E6AC #FDF6E2

Accessibility & contrast

On white

1.43
#F5D573 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.65
#F5D573 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D573
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D573#FFFFFF#000000##000000
##F5D5731.001.4314.6514.65
#FFFFFF1.431.0021.0021.00
#00000014.6521.001.001.00
##00000014.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D26A
Deuteranopia (green-blind)
#F0DB77
Tritanopia (blue-blind)
#FFC7BE
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f5d573;
/* rgb */ color: rgb(245, 213, 115);
/* oklch */ color: oklch(88.0% 0.123 91.7);
Tailwind
colors: {
  custom: {
    50: '#fbe19d',
    500: '#f5d573',
    950: '#000000',
  },
}
SCSS
$custom: #f5d573;
$custom-light: #fbe19d;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d573",
  "rgb": {
    "r": 245,
    "g": 213,
    "b": 115
  },
  "hsl": {
    "h": 45.231,
    "s": 86.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.88025,
    "c": 0.12297,
    "h": 91.7
  },
  "luminance": 0.68239
}

Semantic roles & 50–950 ramp

primary
#F5D573
secondary
#3D61CF
accent
#3AE302
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F5D573

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

Preview Lab → · Contrast checker → · Palette generator →

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