#F8DF72#F8DF72

#F8DF72 is a very light, vivid yellow. Relative luminance 0.739; OKLCH L 90.3% C 0.132 H 96.6°. Best body text is #000000 at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#F8DF72
RGBrgb(248, 223, 114)
HSLhsl(49, 91%, 71%)
HSVhsv(49, 54%, 97%)
CMYKcmyk(0%, 10.1%, 54%, 2.7%)
CIE-LABlab(88.90, -4.65, 55.83)
CIE-LCHlch(88.90, 56.02, 94.77°)
OKLaboklab(90.27% -0.0153 0.1311)
OKLCHoklch(90.27% 0.132 96.6)
XYZxyz(68.1388, 73.9496, 26.6009)
Luminance0.7395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DF72 #728BF8
analogous
#F89C72 #F8DF72 #CEF872
triadic
#F8DF72 #72F8DF #DF72F8
tetradic
#F8DF72 #72F89C #728BF8 #F872CE
square
#F8DF72 #72F89C #728BF8 #F872CE
split-complementary
#F8DF72 #72CEF8 #9C72F8
monochromatic
#E4BC0B #F5D238 #F8DF72 #FBECAC #FEF8E2

Accessibility & contrast

On white

1.33
#F8DF72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.79
#F8DF72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DF72
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DF72#FFFFFF#000000##000000
##F8DF721.001.3315.7915.79
#FFFFFF1.331.0021.0021.00
#00000015.7921.001.001.00
##00000015.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DA68
Deuteranopia (green-blind)
#F8E377
Tritanopia (blue-blind)
#FFD1C6
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f8df72;
/* rgb */ color: rgb(248, 223, 114);
/* oklch */ color: oklch(90.3% 0.132 96.6);
Tailwind
colors: {
  custom: {
    50: '#fde89d',
    500: '#f8df72',
    950: '#000000',
  },
}
SCSS
$custom: #f8df72;
$custom-light: #fde89d;
$custom-dark: #000000;
JSON
{
  "hex": "#f8df72",
  "rgb": {
    "r": 248,
    "g": 223,
    "b": 114
  },
  "hsl": {
    "h": 48.806,
    "s": 90.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.90274,
    "c": 0.13197,
    "h": 96.6
  },
  "luminance": 0.73947
}

Semantic roles & 50–950 ramp

primary
#F8DF72
secondary
#3B57D3
accent
#2BE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8DF72

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

Preview Lab → · Contrast checker → · Palette generator →

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