#F8DC58#F8DC58

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

Color values

HEX#F8DC58
RGBrgb(248, 220, 88)
HSLhsl(50, 92%, 66%)
HSVhsv(50, 65%, 97%)
CMYKcmyk(0%, 11.3%, 64.5%, 2.7%)
CIE-LABlab(87.90, -4.91, 66.17)
CIE-LCHlch(87.90, 66.35, 94.25°)
OKLaboklab(89.4% -0.019 0.15)
OKLCHoklch(89.4% 0.151 97.2)
XYZxyz(66.0690, 71.8506, 19.6191)
Luminance0.7185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DC58 #5874F8
analogous
#F88C58 #F8DC58 #C4F858
triadic
#F8DC58 #58F8DC #DC58F8
tetradic
#F8DC58 #58F88C #5874F8 #F858C4
square
#F8DC58 #58F88C #5874F8 #F858C4
split-complementary
#F8DC58 #58C4F8 #8C58F8
monochromatic
#CDAB09 #F6D01D #F8DC58 #FAE893 #FDF5CD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8DC58#FFFFFF#000000##000000
##F8DC581.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)
#F1D748
Deuteranopia (green-blind)
#F8E05F
Tritanopia (blue-blind)
#FFCCC0
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f8dc58;
/* rgb */ color: rgb(248, 220, 88);
/* oklch */ color: oklch(89.4% 0.151 97.2);
Tailwind
colors: {
  custom: {
    50: '#fee68d',
    500: '#f8dc58',
    950: '#000000',
  },
}
SCSS
$custom: #f8dc58;
$custom-light: #fee68d;
$custom-dark: #000000;
JSON
{
  "hex": "#f8dc58",
  "rgb": {
    "r": 248,
    "g": 220,
    "b": 88
  },
  "hsl": {
    "h": 49.5,
    "s": 91.954,
    "l": 65.882
  },
  "oklch": {
    "l": 0.89402,
    "c": 0.15117,
    "h": 97.2
  },
  "luminance": 0.71847
}

Semantic roles & 50–950 ramp

primary
#F8DC58
secondary
#2C47C9
accent
#28E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F8DC58

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

Preview Lab → · Contrast checker → · Palette generator →

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