#F8DB72#F8DB72

#F8DB72 is a very light, vivid yellow. Relative luminance 0.718; OKLCH L 89.5% C 0.129 H 94.2°. Best body text is #000000 at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#F8DB72
RGBrgb(248, 219, 114)
HSLhsl(47, 91%, 71%)
HSVhsv(47, 54%, 97%)
CMYKcmyk(0%, 11.7%, 54%, 2.7%)
CIE-LABlab(87.89, -2.63, 54.65)
CIE-LCHlch(87.89, 54.71, 92.76°)
OKLaboklab(89.48% -0.0094 0.1285)
OKLCHoklch(89.48% 0.129 94.2)
XYZxyz(67.0827, 71.8374, 26.2488)
Luminance0.7183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DB72 #728FF8
analogous
#F89872 #F8DB72 #D2F872
triadic
#F8DB72 #72F8DB #DB72F8
tetradic
#F8DB72 #72F898 #728FF8 #F872D2
square
#F8DB72 #72F898 #728FF8 #F872D2
split-complementary
#F8DB72 #72D2F8 #9872F8
monochromatic
#E4B50B #F5CC38 #F8DB72 #FBEAAC #FEF8E2

Accessibility & contrast

On white

1.37
#F8DB72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.37
#F8DB72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DB72
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DB72#FFFFFF#000000##000000
##F8DB721.001.3715.3715.37
#FFFFFF1.371.0021.0021.00
#00000015.3721.001.001.00
##00000015.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED768
Deuteranopia (green-blind)
#F5E076
Tritanopia (blue-blind)
#FFCDC3
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f8db72;
/* rgb */ color: rgb(248, 219, 114);
/* oklch */ color: oklch(89.5% 0.129 94.2);
Tailwind
colors: {
  custom: {
    50: '#fde59d',
    500: '#f8db72',
    950: '#000000',
  },
}
SCSS
$custom: #f8db72;
$custom-light: #fde59d;
$custom-dark: #000000;
JSON
{
  "hex": "#f8db72",
  "rgb": {
    "r": 248,
    "g": 219,
    "b": 114
  },
  "hsl": {
    "h": 47.015,
    "s": 90.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.89476,
    "c": 0.12885,
    "h": 94.2
  },
  "luminance": 0.71834
}

Semantic roles & 50–950 ramp

primary
#F8DB72
secondary
#3B5CD3
accent
#32E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F8DB72

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

Preview Lab → · Contrast checker → · Palette generator →

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