#F8DD72#F8DD72

#F8DD72 is a very light, vivid yellow. Relative luminance 0.729; OKLCH L 89.9% C 0.130 H 95.4°. Best body text is #000000 at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#F8DD72
RGBrgb(248, 221, 114)
HSLhsl(48, 91%, 71%)
HSVhsv(48, 54%, 97%)
CMYKcmyk(0%, 10.9%, 54%, 2.7%)
CIE-LABlab(88.39, -3.64, 55.24)
CIE-LCHlch(88.39, 55.36, 93.77°)
OKLaboklab(89.87% -0.0124 0.1298)
OKLCHoklch(89.87% 0.13 95.4)
XYZxyz(67.6076, 72.8872, 26.4238)
Luminance0.7288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DD72 #728DF8
analogous
#F89A72 #F8DD72 #D0F872
triadic
#F8DD72 #72F8DD #DD72F8
tetradic
#F8DD72 #72F89A #728DF8 #F872D0
square
#F8DD72 #72F89A #728DF8 #F872D0
split-complementary
#F8DD72 #72D0F8 #9A72F8
monochromatic
#E4B90B #F5CF38 #F8DD72 #FBEBAC #FEF8E2

Accessibility & contrast

On white

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

On black

15.58
#F8DD72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DD72
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DD72#FFFFFF#000000##000000
##F8DD721.001.3515.5815.58
#FFFFFF1.351.0021.0021.00
#00000015.5821.001.001.00
##00000015.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D968
Deuteranopia (green-blind)
#F7E277
Tritanopia (blue-blind)
#FFCFC5
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f8dd72;
/* rgb */ color: rgb(248, 221, 114);
/* oklch */ color: oklch(89.9% 0.130 95.4);
Tailwind
colors: {
  custom: {
    50: '#fde79d',
    500: '#f8dd72',
    950: '#000000',
  },
}
SCSS
$custom: #f8dd72;
$custom-light: #fde79d;
$custom-dark: #000000;
JSON
{
  "hex": "#f8dd72",
  "rgb": {
    "r": 248,
    "g": 221,
    "b": 114
  },
  "hsl": {
    "h": 47.91,
    "s": 90.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.89874,
    "c": 0.13038,
    "h": 95.4
  },
  "luminance": 0.72884
}

Semantic roles & 50–950 ramp

primary
#F8DD72
secondary
#3B5AD3
accent
#2EE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8DD72

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

Preview Lab → · Contrast checker → · Palette generator →

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