#F5DF73#F5DF73

#F5DF73 is a very light, vivid yellow. Relative luminance 0.734; OKLCH L 90.0% C 0.131 H 98.0°. Best body text is #000000 at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#F5DF73
RGBrgb(245, 223, 115)
HSLhsl(50, 87%, 71%)
HSVhsv(50, 53%, 96%)
CMYKcmyk(0%, 9%, 53.1%, 3.9%)
CIE-LABlab(88.65, -5.78, 55.01)
CIE-LCHlch(88.65, 55.32, 96.00°)
OKLaboklab(90.02% -0.0183 0.1295)
OKLCHoklch(90.02% 0.131 98)
XYZxyz(67.1407, 73.4283, 26.8528)
Luminance0.7343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DF73 #7389F5
analogous
#F59E73 #F5DF73 #CAF573
triadic
#F5DF73 #73F5DF #DF73F5
tetradic
#F5DF73 #73F59E #7389F5 #F573CA
square
#F5DF73 #73F59E #7389F5 #F573CA
split-complementary
#F5DF73 #73CAF5 #9E73F5
monochromatic
#DEBB10 #F1D23A #F5DF73 #F9ECAC #FDF8E2

Accessibility & contrast

On white

1.34
#F5DF73 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.69
#F5DF73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DF73
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DF73#FFFFFF#000000##000000
##F5DF731.001.3415.6915.69
#FFFFFF1.341.0021.0021.00
#00000015.6921.001.001.00
##00000015.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DA69
Deuteranopia (green-blind)
#F7E278
Tritanopia (blue-blind)
#FFD1C6
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f5df73;
/* rgb */ color: rgb(245, 223, 115);
/* oklch */ color: oklch(90.0% 0.131 98.0);
Tailwind
colors: {
  custom: {
    50: '#fbe89e',
    500: '#f5df73',
    950: '#000000',
  },
}
SCSS
$custom: #f5df73;
$custom-light: #fbe89e;
$custom-dark: #000000;
JSON
{
  "hex": "#f5df73",
  "rgb": {
    "r": 245,
    "g": 223,
    "b": 115
  },
  "hsl": {
    "h": 49.846,
    "s": 86.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.9002,
    "c": 0.13073,
    "h": 98
  },
  "luminance": 0.73426
}

Semantic roles & 50–950 ramp

primary
#F5DF73
secondary
#3D56CF
accent
#28E302
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F5DF73

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

Preview Lab → · Contrast checker → · Palette generator →

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