#F8DC6A#F8DC6A

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

Color values

HEX#F8DC6A
RGBrgb(248, 220, 106)
HSLhsl(48, 91%, 69%)
HSVhsv(48, 57%, 97%)
CMYKcmyk(0%, 11.3%, 57.3%, 2.7%)
CIE-LABlab(88.06, -3.74, 58.53)
CIE-LCHlch(88.06, 58.65, 93.66°)
OKLaboklab(89.58% -0.0135 0.1361)
OKLCHoklch(89.58% 0.137 95.7)
XYZxyz(66.9088, 72.1865, 24.0419)
Luminance0.7218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DC6A #6A86F8
analogous
#F8956A #F8DC6A #CDF86A
triadic
#F8DC6A #6AF8DC #DC6AF8
tetradic
#F8DC6A #6AF895 #6A86F8 #F86ACD
square
#F8DC6A #6AF895 #6A86F8 #F86ACD
split-complementary
#F8DC6A #6ACDF8 #956AF8
monochromatic
#DDB40A #F5CE30 #F8DC6A #FBEAA4 #FDF7DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8DC6A#FFFFFF#000000##000000
##F8DC6A1.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)
#EFD85F
Deuteranopia (green-blind)
#F7E16F
Tritanopia (blue-blind)
#FFCDC3
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f8dc6a;
/* rgb */ color: rgb(248, 220, 106);
/* oklch */ color: oklch(89.6% 0.137 95.7);
Tailwind
colors: {
  custom: {
    50: '#fde698',
    500: '#f8dc6a',
    950: '#000000',
  },
}
SCSS
$custom: #f8dc6a;
$custom-light: #fde698;
$custom-dark: #000000;
JSON
{
  "hex": "#f8dc6a",
  "rgb": {
    "r": 248,
    "g": 220,
    "b": 106
  },
  "hsl": {
    "h": 48.169,
    "s": 91.026,
    "l": 69.412
  },
  "oklch": {
    "l": 0.89582,
    "c": 0.13672,
    "h": 95.7
  },
  "luminance": 0.72183
}

Semantic roles & 50–950 ramp

primary
#F8DC6A
secondary
#3453D2
accent
#2DE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F8DC6A

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

Preview Lab → · Contrast checker → · Palette generator →

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