#F8DD6A#F8DD6A

#F8DD6A is a very light, vivid yellow. Relative luminance 0.727; OKLCH L 89.8% C 0.137 H 96.3°. Best body text is #000000 at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#F8DD6A
RGBrgb(248, 221, 106)
HSLhsl(49, 91%, 69%)
HSVhsv(49, 57%, 97%)
CMYKcmyk(0%, 10.9%, 57.3%, 2.7%)
CIE-LABlab(88.31, -4.25, 58.82)
CIE-LCHlch(88.31, 58.97, 94.13°)
OKLaboklab(89.78% -0.015 0.1367)
OKLCHoklch(89.78% 0.137 96.3)
XYZxyz(67.1720, 72.7130, 24.1297)
Luminance0.7271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DD6A #6A85F8
analogous
#F8966A #F8DD6A #CCF86A
triadic
#F8DD6A #6AF8DD #DD6AF8
tetradic
#F8DD6A #6AF896 #6A85F8 #F86ACC
square
#F8DD6A #6AF896 #6A85F8 #F86ACC
split-complementary
#F8DD6A #6ACCF8 #966AF8
monochromatic
#DDB50A #F5D030 #F8DD6A #FBEAA4 #FDF8DF

Accessibility & contrast

On white

1.35
#F8DD6A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.54
#F8DD6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DD6A
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DD6A#FFFFFF#000000##000000
##F8DD6A1.001.3515.5415.54
#FFFFFF1.351.0021.0021.00
#00000015.5421.001.001.00
##00000015.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D95F
Deuteranopia (green-blind)
#F7E16F
Tritanopia (blue-blind)
#FFCFC3
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f8dd6a;
/* rgb */ color: rgb(248, 221, 106);
/* oklch */ color: oklch(89.8% 0.137 96.3);
Tailwind
colors: {
  custom: {
    50: '#fde798',
    500: '#f8dd6a',
    950: '#000000',
  },
}
SCSS
$custom: #f8dd6a;
$custom-light: #fde798;
$custom-dark: #000000;
JSON
{
  "hex": "#f8dd6a",
  "rgb": {
    "r": 248,
    "g": 221,
    "b": 106
  },
  "hsl": {
    "h": 48.592,
    "s": 91.026,
    "l": 69.412
  },
  "oklch": {
    "l": 0.89782,
    "c": 0.13749,
    "h": 96.3
  },
  "luminance": 0.7271
}

Semantic roles & 50–950 ramp

primary
#F8DD6A
secondary
#3452D2
accent
#2CE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8DD6A

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

Preview Lab → · Contrast checker → · Palette generator →

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