#F8DD5C#F8DD5C

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

Color values

HEX#F8DD5C
RGBrgb(248, 221, 92)
HSLhsl(50, 92%, 67%)
HSVhsv(50, 63%, 97%)
CMYKcmyk(0%, 10.9%, 62.9%, 2.7%)
CIE-LABlab(88.18, -5.18, 64.80)
CIE-LCHlch(88.18, 65.01, 94.57°)
OKLaboklab(89.64% -0.0193 0.1477)
OKLCHoklch(89.64% 0.149 97.4)
XYZxyz(66.5025, 72.4452, 20.6035)
Luminance0.7244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DD5C #5C77F8
analogous
#F88F5C #F8DD5C #C5F85C
triadic
#F8DD5C #5CF8DD #DD5CF8
tetradic
#F8DD5C #5CF88F #5C77F8 #F85CC5
square
#F8DD5C #5CF88F #5C77F8 #F85CC5
split-complementary
#F8DD5C #5CC5F8 #8F5CF8
monochromatic
#D1AE09 #F5D121 #F8DD5C #FBE997 #FDF5D1

Accessibility & contrast

On white

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

On black

15.49
#F8DD5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DD5C
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DD5C#FFFFFF#000000##000000
##F8DD5C1.001.3615.4915.49
#FFFFFF1.361.0021.0021.00
#00000015.4921.001.001.00
##00000015.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D84D
Deuteranopia (green-blind)
#F8E163
Tritanopia (blue-blind)
#FFCEC2
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f8dd5c;
/* rgb */ color: rgb(248, 221, 92);
/* oklch */ color: oklch(89.6% 0.149 97.4);
Tailwind
colors: {
  custom: {
    50: '#fee78f',
    500: '#f8dd5c',
    950: '#000000',
  },
}
SCSS
$custom: #f8dd5c;
$custom-light: #fee78f;
$custom-dark: #000000;
JSON
{
  "hex": "#f8dd5c",
  "rgb": {
    "r": 248,
    "g": 221,
    "b": 92
  },
  "hsl": {
    "h": 49.615,
    "s": 91.765,
    "l": 66.667
  },
  "oklch": {
    "l": 0.89639,
    "c": 0.14891,
    "h": 97.4
  },
  "luminance": 0.72442
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8DD5C

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

Preview Lab → · Contrast checker → · Palette generator →

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