#F8DC6B#F8DC6B

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

Color values

HEX#F8DC6B
RGBrgb(248, 220, 107)
HSLhsl(48, 91%, 70%)
HSVhsv(48, 57%, 97%)
CMYKcmyk(0%, 11.3%, 56.9%, 2.7%)
CIE-LABlab(88.07, -3.67, 58.08)
CIE-LCHlch(88.07, 58.20, 93.61°)
OKLaboklab(89.59% -0.0132 0.1352)
OKLCHoklch(89.59% 0.136 95.6)
XYZxyz(66.9611, 72.2074, 24.3174)
Luminance0.7220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DC6B #6B87F8
analogous
#F8966B #F8DC6B #CEF86B
triadic
#F8DC6B #6BF8DC #DC6BF8
tetradic
#F8DC6B #6BF896 #6B87F8 #F86BCE
square
#F8DC6B #6BF896 #6B87F8 #F86BCE
split-complementary
#F8DC6B #6BCEF8 #966BF8
monochromatic
#DEB40B #F5CE31 #F8DC6B #FBEAA5 #FEF8E0

Accessibility & contrast

On white

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

On black

15.44
#F8DC6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DC6B
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DC6B#FFFFFF#000000##000000
##F8DC6B1.001.3615.4415.44
#FFFFFF1.361.0021.0021.00
#00000015.4421.001.001.00
##00000015.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8dc6b;
/* rgb */ color: rgb(248, 220, 107);
/* oklch */ color: oklch(89.6% 0.136 95.6);
Tailwind
colors: {
  custom: {
    50: '#fde699',
    500: '#f8dc6b',
    950: '#000000',
  },
}
SCSS
$custom: #f8dc6b;
$custom-light: #fde699;
$custom-dark: #000000;
JSON
{
  "hex": "#f8dc6b",
  "rgb": {
    "r": 248,
    "g": 220,
    "b": 107
  },
  "hsl": {
    "h": 48.085,
    "s": 90.968,
    "l": 69.608
  },
  "oklch": {
    "l": 0.89593,
    "c": 0.13586,
    "h": 95.6
  },
  "luminance": 0.72204
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8DC6B

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

Preview Lab → · Contrast checker → · Palette generator →

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