#F8DF73#F8DF73

#F8DF73 is a very light, vivid yellow. Relative luminance 0.740; OKLCH L 90.3% C 0.131 H 96.6°. Best body text is #000000 at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#F8DF73
RGBrgb(248, 223, 115)
HSLhsl(49, 90%, 71%)
HSVhsv(49, 54%, 97%)
CMYKcmyk(0%, 10.1%, 53.6%, 2.7%)
CIE-LABlab(88.91, -4.58, 55.38)
CIE-LCHlch(88.91, 55.57, 94.72°)
OKLaboklab(90.29% -0.0149 0.1302)
OKLCHoklch(90.29% 0.131 96.6)
XYZxyz(68.1960, 73.9725, 26.9023)
Luminance0.7397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DF73 #738CF8
analogous
#F89C73 #F8DF73 #CEF873
triadic
#F8DF73 #73F8DF #DF73F8
tetradic
#F8DF73 #73F89C #738CF8 #F873CE
square
#F8DF73 #73F89C #738CF8 #F873CE
split-complementary
#F8DF73 #73CEF8 #9C73F8
monochromatic
#E5BC0B #F5D239 #F8DF73 #FBECAD #FEF8E2

Accessibility & contrast

On white

1.33
#F8DF73 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.79
#F8DF73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DF73
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DF73#FFFFFF#000000##000000
##F8DF731.001.3315.7915.79
#FFFFFF1.331.0021.0021.00
#00000015.7921.001.001.00
##00000015.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8df73;
/* rgb */ color: rgb(248, 223, 115);
/* oklch */ color: oklch(90.3% 0.131 96.6);
Tailwind
colors: {
  custom: {
    50: '#fde89e',
    500: '#f8df73',
    950: '#000000',
  },
}
SCSS
$custom: #f8df73;
$custom-light: #fde89e;
$custom-dark: #000000;
JSON
{
  "hex": "#f8df73",
  "rgb": {
    "r": 248,
    "g": 223,
    "b": 115
  },
  "hsl": {
    "h": 48.722,
    "s": 90.476,
    "l": 71.176
  },
  "oklch": {
    "l": 0.90286,
    "c": 0.13105,
    "h": 96.6
  },
  "luminance": 0.7397
}

Semantic roles & 50–950 ramp

primary
#F8DF73
secondary
#3C58D3
accent
#2BE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F8DF73

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

Preview Lab → · Contrast checker → · Palette generator →

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