#F8DC6C#F8DC6C

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

Color values

HEX#F8DC6C
RGBrgb(248, 220, 108)
HSLhsl(48, 91%, 70%)
HSVhsv(48, 56%, 97%)
CMYKcmyk(0%, 11.3%, 56.5%, 2.7%)
CIE-LABlab(88.08, -3.59, 57.64)
CIE-LCHlch(88.08, 57.75, 93.57°)
OKLaboklab(89.61% -0.0129 0.1344)
OKLCHoklch(89.61% 0.135 95.5)
XYZxyz(67.0140, 72.2286, 24.5961)
Luminance0.7223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DC6C #6C88F8
analogous
#F8966C #F8DC6C #CEF86C
triadic
#F8DC6C #6CF8DC #DC6CF8
tetradic
#F8DC6C #6CF896 #6C88F8 #F86CCE
square
#F8DC6C #6CF896 #6C88F8 #F86CCE
split-complementary
#F8DC6C #6CCEF8 #966CF8
monochromatic
#DFB50B #F5CE32 #F8DC6C #FBEAA6 #FEF8E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8DC6C#FFFFFF#000000##000000
##F8DC6C1.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)
#EFD861
Deuteranopia (green-blind)
#F7E171
Tritanopia (blue-blind)
#FFCEC3
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f8dc6c;
/* rgb */ color: rgb(248, 220, 108);
/* oklch */ color: oklch(89.6% 0.135 95.5);
Tailwind
colors: {
  custom: {
    50: '#fde699',
    500: '#f8dc6c',
    950: '#000000',
  },
}
SCSS
$custom: #f8dc6c;
$custom-light: #fde699;
$custom-dark: #000000;
JSON
{
  "hex": "#f8dc6c",
  "rgb": {
    "r": 248,
    "g": 220,
    "b": 108
  },
  "hsl": {
    "h": 48,
    "s": 90.909,
    "l": 69.804
  },
  "oklch": {
    "l": 0.89605,
    "c": 0.13499,
    "h": 95.5
  },
  "luminance": 0.72226
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8DC6C

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

Preview Lab → · Contrast checker → · Palette generator →

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