#F8DD58#F8DD58

#F8DD58 is a very light, vivid yellow. Relative luminance 0.724; OKLCH L 89.6% C 0.152 H 97.7°. Best body text is #000000 at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#F8DD58
RGBrgb(248, 221, 88)
HSLhsl(50, 92%, 66%)
HSVhsv(50, 65%, 97%)
CMYKcmyk(0%, 10.9%, 64.5%, 2.7%)
CIE-LABlab(88.15, -5.42, 66.44)
CIE-LCHlch(88.15, 66.66, 94.66°)
OKLaboklab(89.6% -0.0204 0.1505)
OKLCHoklch(89.6% 0.152 97.7)
XYZxyz(66.3323, 72.3771, 19.7068)
Luminance0.7237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DD58 #5873F8
analogous
#F88D58 #F8DD58 #C3F858
triadic
#F8DD58 #58F8DD #DD58F8
tetradic
#F8DD58 #58F88D #5873F8 #F858C3
square
#F8DD58 #58F88D #5873F8 #F858C3
split-complementary
#F8DD58 #58C3F8 #8D58F8
monochromatic
#CDAC09 #F6D11D #F8DD58 #FAE993 #FDF5CD

Accessibility & contrast

On white

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

On black

15.47
#F8DD58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DD58
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DD58#FFFFFF#000000##000000
##F8DD581.001.3615.4715.47
#FFFFFF1.361.0021.0021.00
#00000015.4721.001.001.00
##00000015.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D848
Deuteranopia (green-blind)
#F9E15F
Tritanopia (blue-blind)
#FFCDC1
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f8dd58;
/* rgb */ color: rgb(248, 221, 88);
/* oklch */ color: oklch(89.6% 0.152 97.7);
Tailwind
colors: {
  custom: {
    50: '#fee78d',
    500: '#f8dd58',
    950: '#000000',
  },
}
SCSS
$custom: #f8dd58;
$custom-light: #fee78d;
$custom-dark: #000000;
JSON
{
  "hex": "#f8dd58",
  "rgb": {
    "r": 248,
    "g": 221,
    "b": 88
  },
  "hsl": {
    "h": 49.875,
    "s": 91.954,
    "l": 65.882
  },
  "oklch": {
    "l": 0.89603,
    "c": 0.15192,
    "h": 97.7
  },
  "luminance": 0.72374
}

Semantic roles & 50–950 ramp

primary
#F8DD58
secondary
#2C46C9
accent
#27E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F8DD58

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

Preview Lab → · Contrast checker → · Palette generator →

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