#F8DF71#F8DF71

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

Color values

HEX#F8DF71
RGBrgb(248, 223, 113)
HSLhsl(49, 91%, 71%)
HSVhsv(49, 54%, 97%)
CMYKcmyk(0%, 10.1%, 54.4%, 2.7%)
CIE-LABlab(88.89, -4.73, 56.28)
CIE-LCHlch(88.89, 56.48, 94.81°)
OKLaboklab(90.26% -0.0156 0.132)
OKLCHoklch(90.26% 0.133 96.8)
XYZxyz(68.0822, 73.9270, 26.3027)
Luminance0.7392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DF71 #718AF8
analogous
#F89B71 #F8DF71 #CDF871
triadic
#F8DF71 #71F8DF #DF71F8
tetradic
#F8DF71 #71F89B #718AF8 #F871CD
square
#F8DF71 #71F89B #718AF8 #F871CD
split-complementary
#F8DF71 #71CDF8 #9B71F8
monochromatic
#E3BB0B #F5D237 #F8DF71 #FBECAB #FEF8E2

Accessibility & contrast

On white

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

On black

15.78
#F8DF71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DF71
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DF71#FFFFFF#000000##000000
##F8DF711.001.3315.7815.78
#FFFFFF1.331.0021.0021.00
#00000015.7821.001.001.00
##00000015.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8df71;
/* rgb */ color: rgb(248, 223, 113);
/* oklch */ color: oklch(90.3% 0.133 96.8);
Tailwind
colors: {
  custom: {
    50: '#fde89d',
    500: '#f8df71',
    950: '#000000',
  },
}
SCSS
$custom: #f8df71;
$custom-light: #fde89d;
$custom-dark: #000000;
JSON
{
  "hex": "#f8df71",
  "rgb": {
    "r": 248,
    "g": 223,
    "b": 113
  },
  "hsl": {
    "h": 48.889,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.90262,
    "c": 0.13287,
    "h": 96.8
  },
  "luminance": 0.73924
}

Semantic roles & 50–950 ramp

primary
#F8DF71
secondary
#3A57D3
accent
#2AE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8DF71

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

Preview Lab → · Contrast checker → · Palette generator →

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