#F8DD7A#F8DD7A

#F8DD7A is a very light, vivid yellow. Relative luminance 0.731; OKLCH L 90.0% C 0.123 H 94.5°. Best body text is #000000 at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#F8DD7A
RGBrgb(248, 221, 122)
HSLhsl(47, 90%, 73%)
HSVhsv(47, 51%, 97%)
CMYKcmyk(0%, 10.9%, 50.8%, 2.7%)
CIE-LABlab(88.48, -2.99, 51.57)
CIE-LCHlch(88.48, 51.66, 93.32°)
OKLaboklab(89.98% -0.0096 0.1225)
OKLCHoklch(89.98% 0.123 94.5)
XYZxyz(68.0831, 73.0774, 28.9277)
Luminance0.7308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DD7A #7A95F8
analogous
#F89E7A #F8DD7A #D4F87A
triadic
#F8DD7A #7AF8DD #DD7AF8
tetradic
#F8DD7A #7AF89E #7A95F8 #F87AD4
square
#F8DD7A #7AF89E #7A95F8 #F87AD4
split-complementary
#F8DD7A #7AD4F8 #9E7AF8
monochromatic
#EBBB0C #F5CE40 #F8DD7A #FBECB4 #FDF8E2

Accessibility & contrast

On white

1.34
#F8DD7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.62
#F8DD7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DD7A
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DD7A#FFFFFF#000000##000000
##F8DD7A1.001.3415.6215.62
#FFFFFF1.341.0021.0021.00
#00000015.6221.001.001.00
##00000015.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD971
Deuteranopia (green-blind)
#F6E27E
Tritanopia (blue-blind)
#FFD0C6
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f8dd7a;
/* rgb */ color: rgb(248, 221, 122);
/* oklch */ color: oklch(90.0% 0.123 94.5);
Tailwind
colors: {
  custom: {
    50: '#fde7a2',
    500: '#f8dd7a',
    950: '#000000',
  },
}
SCSS
$custom: #f8dd7a;
$custom-light: #fde7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f8dd7a",
  "rgb": {
    "r": 248,
    "g": 221,
    "b": 122
  },
  "hsl": {
    "h": 47.143,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.89976,
    "c": 0.12288,
    "h": 94.5
  },
  "luminance": 0.73075
}

Semantic roles & 50–950 ramp

primary
#F8DD7A
secondary
#4261D4
accent
#31E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F8DD7A

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

Preview Lab → · Contrast checker → · Palette generator →

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