#F8DD70#F8DD70

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

Color values

HEX#F8DD70
RGBrgb(248, 221, 112)
HSLhsl(48, 91%, 71%)
HSVhsv(48, 55%, 97%)
CMYKcmyk(0%, 10.9%, 54.8%, 2.7%)
CIE-LABlab(88.37, -3.80, 56.14)
CIE-LCHlch(88.37, 56.27, 93.87°)
OKLaboklab(89.85% -0.013 0.1316)
OKLCHoklch(89.85% 0.132 95.7)
XYZxyz(67.4950, 72.8422, 25.8308)
Luminance0.7284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DD70 #708BF8
analogous
#F89970 #F8DD70 #CFF870
triadic
#F8DD70 #70F8DD #DD70F8
tetradic
#F8DD70 #70F899 #708BF8 #F870CF
square
#F8DD70 #70F899 #708BF8 #F870CF
split-complementary
#F8DD70 #70CFF8 #9970F8
monochromatic
#E3B80B #F5CF36 #F8DD70 #FBEBAA #FEF8E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8DD70#FFFFFF#000000##000000
##F8DD701.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)
#F0D966
Deuteranopia (green-blind)
#F7E275
Tritanopia (blue-blind)
#FFCFC4
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f8dd70;
/* rgb */ color: rgb(248, 221, 112);
/* oklch */ color: oklch(89.9% 0.132 95.7);
Tailwind
colors: {
  custom: {
    50: '#fde79c',
    500: '#f8dd70',
    950: '#000000',
  },
}
SCSS
$custom: #f8dd70;
$custom-light: #fde79c;
$custom-dark: #000000;
JSON
{
  "hex": "#f8dd70",
  "rgb": {
    "r": 248,
    "g": 221,
    "b": 112
  },
  "hsl": {
    "h": 48.088,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.89851,
    "c": 0.13219,
    "h": 95.7
  },
  "luminance": 0.72839
}

Semantic roles & 50–950 ramp

primary
#F8DD70
secondary
#3958D3
accent
#2EE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8DD70

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

Preview Lab → · Contrast checker → · Palette generator →

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