#F8D558#F8D558

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

Color values

HEX#F8D558
RGBrgb(248, 213, 88)
HSLhsl(47, 92%, 66%)
HSVhsv(47, 65%, 97%)
CMYKcmyk(0%, 14.1%, 64.5%, 2.7%)
CIE-LABlab(86.13, -1.37, 64.29)
CIE-LCHlch(86.13, 64.31, 91.22°)
OKLaboklab(88.01% -0.0088 0.146)
OKLCHoklch(88.01% 0.146 93.4)
XYZxyz(64.2702, 68.2530, 19.0195)
Luminance0.6825 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D558 #587BF8
analogous
#F88558 #F8D558 #CBF858
triadic
#F8D558 #58F8D5 #D558F8
tetradic
#F8D558 #58F885 #587BF8 #F858CB
square
#F8D558 #58F885 #587BF8 #F858CB
split-complementary
#F8D558 #58CBF8 #8558F8
monochromatic
#CDA209 #F6C61D #F8D558 #FAE493 #FDF3CD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8D558#FFFFFF#000000##000000
##F8D5581.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)
#EAD149
Deuteranopia (green-blind)
#F3DC5E
Tritanopia (blue-blind)
#FFC5BB
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f8d558;
/* rgb */ color: rgb(248, 213, 88);
/* oklch */ color: oklch(88.0% 0.146 93.4);
Tailwind
colors: {
  custom: {
    50: '#fee18c',
    500: '#f8d558',
    950: '#000000',
  },
}
SCSS
$custom: #f8d558;
$custom-light: #fee18c;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d558",
  "rgb": {
    "r": 248,
    "g": 213,
    "b": 88
  },
  "hsl": {
    "h": 46.875,
    "s": 91.954,
    "l": 65.882
  },
  "oklch": {
    "l": 0.88007,
    "c": 0.14625,
    "h": 93.4
  },
  "luminance": 0.6825
}

Semantic roles & 50–950 ramp

primary
#F8D558
secondary
#2C4EC9
accent
#32E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F8D558

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

Preview Lab → · Contrast checker → · Palette generator →

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