#F8DC6D#F8DC6D

#F8DC6D is a very light, vivid yellow. Relative luminance 0.722; OKLCH L 89.6% C 0.134 H 95.4°. Best body text is #000000 at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#F8DC6D
RGBrgb(248, 220, 109)
HSLhsl(48, 91%, 70%)
HSVhsv(48, 56%, 97%)
CMYKcmyk(0%, 11.3%, 56%, 2.7%)
CIE-LABlab(88.09, -3.52, 57.19)
CIE-LCHlch(88.09, 57.30, 93.52°)
OKLaboklab(89.62% -0.0126 0.1335)
OKLCHoklch(89.62% 0.134 95.4)
XYZxyz(67.0675, 72.2500, 24.8780)
Luminance0.7225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DC6D #6D89F8
analogous
#F8976D #F8DC6D #CEF86D
triadic
#F8DC6D #6DF8DC #DC6DF8
tetradic
#F8DC6D #6DF897 #6D89F8 #F86DCE
square
#F8DC6D #6DF897 #6D89F8 #F86DCE
split-complementary
#F8DC6D #6DCEF8 #976DF8
monochromatic
#E0B50B #F5CE33 #F8DC6D #FBEAA7 #FEF8E2

Accessibility & contrast

On white

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

On black

15.45
#F8DC6D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DC6D
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DC6D#FFFFFF#000000##000000
##F8DC6D1.001.3615.4515.45
#FFFFFF1.361.0021.0021.00
#00000015.4521.001.001.00
##00000015.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD862
Deuteranopia (green-blind)
#F7E172
Tritanopia (blue-blind)
#FFCEC3
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f8dc6d;
/* rgb */ color: rgb(248, 220, 109);
/* oklch */ color: oklch(89.6% 0.134 95.4);
Tailwind
colors: {
  custom: {
    50: '#fde69a',
    500: '#f8dc6d',
    950: '#000000',
  },
}
SCSS
$custom: #f8dc6d;
$custom-light: #fde69a;
$custom-dark: #000000;
JSON
{
  "hex": "#f8dc6d",
  "rgb": {
    "r": 248,
    "g": 220,
    "b": 109
  },
  "hsl": {
    "h": 47.914,
    "s": 90.85,
    "l": 70
  },
  "oklch": {
    "l": 0.89616,
    "c": 0.1341,
    "h": 95.4
  },
  "luminance": 0.72247
}

Semantic roles & 50–950 ramp

primary
#F8DC6D
secondary
#3756D2
accent
#2EE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F8DC6D

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

Preview Lab → · Contrast checker → · Palette generator →

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