#F8DD71#F8DD71

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

Color values

HEX#F8DD71
RGBrgb(248, 221, 113)
HSLhsl(48, 91%, 71%)
HSVhsv(48, 54%, 97%)
CMYKcmyk(0%, 10.9%, 54.4%, 2.7%)
CIE-LABlab(88.38, -3.72, 55.69)
CIE-LCHlch(88.38, 55.82, 93.82°)
OKLaboklab(89.86% -0.0127 0.1307)
OKLCHoklch(89.86% 0.131 95.6)
XYZxyz(67.5510, 72.8646, 26.1257)
Luminance0.7286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DD71 #718CF8
analogous
#F89971 #F8DD71 #CFF871
triadic
#F8DD71 #71F8DD #DD71F8
tetradic
#F8DD71 #71F899 #718CF8 #F871CF
square
#F8DD71 #71F899 #718CF8 #F871CF
split-complementary
#F8DD71 #71CFF8 #9971F8
monochromatic
#E3B80B #F5CF37 #F8DD71 #FBEBAB #FEF8E2

Accessibility & contrast

On white

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

On black

15.57
#F8DD71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DD71
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DD71#FFFFFF#000000##000000
##F8DD711.001.3515.5715.57
#FFFFFF1.351.0021.0021.00
#00000015.5721.001.001.00
##00000015.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8dd71;
/* rgb */ color: rgb(248, 221, 113);
/* oklch */ color: oklch(89.9% 0.131 95.6);
Tailwind
colors: {
  custom: {
    50: '#fde79c',
    500: '#f8dd71',
    950: '#000000',
  },
}
SCSS
$custom: #f8dd71;
$custom-light: #fde79c;
$custom-dark: #000000;
JSON
{
  "hex": "#f8dd71",
  "rgb": {
    "r": 248,
    "g": 221,
    "b": 113
  },
  "hsl": {
    "h": 48,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.89862,
    "c": 0.13129,
    "h": 95.6
  },
  "luminance": 0.72862
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8DD71

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

Preview Lab → · Contrast checker → · Palette generator →

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