#F8DD6F#F8DD6F

#F8DD6F is a very light, vivid yellow. Relative luminance 0.728; OKLCH L 89.8% C 0.133 H 95.8°. Best body text is #000000 at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#F8DD6F
RGBrgb(248, 221, 111)
HSLhsl(48, 91%, 70%)
HSVhsv(48, 55%, 97%)
CMYKcmyk(0%, 10.9%, 55.2%, 2.7%)
CIE-LABlab(88.36, -3.88, 56.59)
CIE-LCHlch(88.36, 56.72, 93.92°)
OKLaboklab(89.84% -0.0134 0.1324)
OKLCHoklch(89.84% 0.133 95.8)
XYZxyz(67.4397, 72.8200, 25.5392)
Luminance0.7282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DD6F #6F8AF8
analogous
#F8986F #F8DD6F #CFF86F
triadic
#F8DD6F #6FF8DD #DD6FF8
tetradic
#F8DD6F #6FF898 #6F8AF8 #F86FCF
square
#F8DD6F #6FF898 #6F8AF8 #F86FCF
split-complementary
#F8DD6F #6FCFF8 #986FF8
monochromatic
#E2B70B #F5CF35 #F8DD6F #FBEBA9 #FEF8E2

Accessibility & contrast

On white

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

On black

15.56
#F8DD6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DD6F
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DD6F#FFFFFF#000000##000000
##F8DD6F1.001.3515.5615.56
#FFFFFF1.351.0021.0021.00
#00000015.5621.001.001.00
##00000015.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D965
Deuteranopia (green-blind)
#F7E174
Tritanopia (blue-blind)
#FFCFC4
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f8dd6f;
/* rgb */ color: rgb(248, 221, 111);
/* oklch */ color: oklch(89.8% 0.133 95.8);
Tailwind
colors: {
  custom: {
    50: '#fde79b',
    500: '#f8dd6f',
    950: '#000000',
  },
}
SCSS
$custom: #f8dd6f;
$custom-light: #fde79b;
$custom-dark: #000000;
JSON
{
  "hex": "#f8dd6f",
  "rgb": {
    "r": 248,
    "g": 221,
    "b": 111
  },
  "hsl": {
    "h": 48.175,
    "s": 90.728,
    "l": 70.392
  },
  "oklch": {
    "l": 0.89839,
    "c": 0.13309,
    "h": 95.8
  },
  "luminance": 0.72817
}

Semantic roles & 50–950 ramp

primary
#F8DD6F
secondary
#3857D3
accent
#2DE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8DD6F

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

Preview Lab → · Contrast checker → · Palette generator →

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