#F8DD4F#F8DD4F

#F8DD4F is a very light, vivid yellow. Relative luminance 0.722; OKLCH L 89.5% C 0.158 H 98.3°. Best body text is #000000 at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#F8DD4F
RGBrgb(248, 221, 79)
HSLhsl(50, 92%, 64%)
HSVhsv(50, 68%, 97%)
CMYKcmyk(0%, 10.9%, 68.1%, 2.7%)
CIE-LABlab(88.08, -5.91, 69.97)
CIE-LCHlch(88.08, 70.21, 94.83°)
OKLaboklab(89.53% -0.0228 0.1566)
OKLCHoklch(89.53% 0.158 98.3)
XYZxyz(65.9822, 72.2371, 17.8633)
Luminance0.7223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DD4F #4F6AF8
analogous
#F8894F #F8DD4F #BFF84F
triadic
#F8DD4F #4FF8DD #DD4FF8
tetradic
#F8DD4F #4FF889 #4F6AF8 #F84FBF
square
#F8DD4F #4FF889 #4F6AF8 #F84FBF
split-complementary
#F8DD4F #4FBFF8 #894FF8
monochromatic
#C5A708 #F6D214 #F8DD4F #FAE88A #FDF4C5

Accessibility & contrast

On white

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

On black

15.45
#F8DD4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DD4F
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DD4F#FFFFFF#000000##000000
##F8DD4F1.001.3615.4515.45
#FFFFFF1.361.0021.0021.00
#00000015.4521.001.001.00
##00000015.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D83B
Deuteranopia (green-blind)
#F9E157
Tritanopia (blue-blind)
#FFCDC0
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f8dd4f;
/* rgb */ color: rgb(248, 221, 79);
/* oklch */ color: oklch(89.5% 0.158 98.3);
Tailwind
colors: {
  custom: {
    50: '#fee788',
    500: '#f8dd4f',
    950: '#000000',
  },
}
SCSS
$custom: #f8dd4f;
$custom-light: #fee788;
$custom-dark: #000000;
JSON
{
  "hex": "#f8dd4f",
  "rgb": {
    "r": 248,
    "g": 221,
    "b": 79
  },
  "hsl": {
    "h": 50.414,
    "s": 92.35,
    "l": 64.118
  },
  "oklch": {
    "l": 0.89528,
    "c": 0.15823,
    "h": 98.3
  },
  "luminance": 0.72234
}

Semantic roles & 50–950 ramp

primary
#F8DD4F
secondary
#2A42C2
accent
#25E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F8DD4F

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

Preview Lab → · Contrast checker → · Palette generator →

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