#F8DF70#F8DF70

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

Color values

HEX#F8DF70
RGBrgb(248, 223, 112)
HSLhsl(49, 91%, 71%)
HSVhsv(49, 55%, 97%)
CMYKcmyk(0%, 10.1%, 54.8%, 2.7%)
CIE-LABlab(88.88, -4.81, 56.73)
CIE-LCHlch(88.88, 56.93, 94.85°)
OKLaboklab(90.25% -0.0159 0.1328)
OKLCHoklch(90.25% 0.134 96.8)
XYZxyz(68.0262, 73.9046, 26.0079)
Luminance0.7390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DF70 #7089F8
analogous
#F89B70 #F8DF70 #CDF870
triadic
#F8DF70 #70F8DF #DF70F8
tetradic
#F8DF70 #70F89B #7089F8 #F870CD
square
#F8DF70 #70F89B #7089F8 #F870CD
split-complementary
#F8DF70 #70CDF8 #9B70F8
monochromatic
#E3BB0B #F5D236 #F8DF70 #FBECAA #FEF8E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8DF70#FFFFFF#000000##000000
##F8DF701.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)
#F2DA65
Deuteranopia (green-blind)
#F8E375
Tritanopia (blue-blind)
#FFD1C6
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f8df70;
/* rgb */ color: rgb(248, 223, 112);
/* oklch */ color: oklch(90.3% 0.134 96.8);
Tailwind
colors: {
  custom: {
    50: '#fde89c',
    500: '#f8df70',
    950: '#000000',
  },
}
SCSS
$custom: #f8df70;
$custom-light: #fde89c;
$custom-dark: #000000;
JSON
{
  "hex": "#f8df70",
  "rgb": {
    "r": 248,
    "g": 223,
    "b": 112
  },
  "hsl": {
    "h": 48.971,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.9025,
    "c": 0.13377,
    "h": 96.8
  },
  "luminance": 0.73902
}

Semantic roles & 50–950 ramp

primary
#F8DF70
secondary
#3956D3
accent
#2AE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8DF70

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

Preview Lab → · Contrast checker → · Palette generator →

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