#F8DC5D#F8DC5D

#F8DC5D is a very light, vivid yellow. Relative luminance 0.719; OKLCH L 89.4% C 0.147 H 96.8°. Best body text is #000000 at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#F8DC5D
RGBrgb(248, 220, 93)
HSLhsl(49, 92%, 67%)
HSVhsv(49, 63%, 97%)
CMYKcmyk(0%, 11.3%, 62.5%, 2.7%)
CIE-LABlab(87.94, -4.61, 64.11)
CIE-LCHlch(87.94, 64.28, 94.11°)
OKLaboklab(89.45% -0.0175 0.1463)
OKLCHoklch(89.45% 0.147 96.8)
XYZxyz(66.2833, 71.9363, 20.7475)
Luminance0.7193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DC5D #5D79F8
analogous
#F88F5D #F8DC5D #C7F85D
triadic
#F8DC5D #5DF8DC #DC5DF8
tetradic
#F8DC5D #5DF88F #5D79F8 #F85DC7
square
#F8DC5D #5DF88F #5D79F8 #F85DC7
split-complementary
#F8DC5D #5DC7F8 #8F5DF8
monochromatic
#D2AD09 #F5CF22 #F8DC5D #FBE998 #FDF5D2

Accessibility & contrast

On white

1.36
#F8DC5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.39
#F8DC5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DC5D
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DC5D#FFFFFF#000000##000000
##F8DC5D1.001.3615.3915.39
#FFFFFF1.361.0021.0021.00
#00000015.3921.001.001.00
##00000015.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D74E
Deuteranopia (green-blind)
#F8E163
Tritanopia (blue-blind)
#FFCDC1
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f8dc5d;
/* rgb */ color: rgb(248, 220, 93);
/* oklch */ color: oklch(89.4% 0.147 96.8);
Tailwind
colors: {
  custom: {
    50: '#fee690',
    500: '#f8dc5d',
    950: '#000000',
  },
}
SCSS
$custom: #f8dc5d;
$custom-light: #fee690;
$custom-dark: #000000;
JSON
{
  "hex": "#f8dc5d",
  "rgb": {
    "r": 248,
    "g": 220,
    "b": 93
  },
  "hsl": {
    "h": 49.161,
    "s": 91.716,
    "l": 66.863
  },
  "oklch": {
    "l": 0.89448,
    "c": 0.14739,
    "h": 96.8
  },
  "luminance": 0.71933
}

Semantic roles & 50–950 ramp

primary
#F8DC5D
secondary
#2D4ACD
accent
#29E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F8DC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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