#F8DC70#F8DC70

#F8DC70 is a very light, vivid yellow. Relative luminance 0.723; OKLCH L 89.7% C 0.131 H 95.1°. Best body text is #000000 at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#F8DC70
RGBrgb(248, 220, 112)
HSLhsl(48, 91%, 71%)
HSVhsv(48, 55%, 97%)
CMYKcmyk(0%, 11.3%, 54.8%, 2.7%)
CIE-LABlab(88.12, -3.29, 55.85)
CIE-LCHlch(88.12, 55.95, 93.37°)
OKLaboklab(89.65% -0.0116 0.1309)
OKLCHoklch(89.65% 0.131 95.1)
XYZxyz(67.2318, 72.3157, 25.7431)
Luminance0.7231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DC70 #708CF8
analogous
#F89870 #F8DC70 #D0F870
triadic
#F8DC70 #70F8DC #DC70F8
tetradic
#F8DC70 #70F898 #708CF8 #F870D0
square
#F8DC70 #70F898 #708CF8 #F870D0
split-complementary
#F8DC70 #70D0F8 #9870F8
monochromatic
#E3B60B #F5CE36 #F8DC70 #FBEAAA #FEF8E2

Accessibility & contrast

On white

1.36
#F8DC70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.46
#F8DC70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DC70
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DC70#FFFFFF#000000##000000
##F8DC701.001.3615.4615.46
#FFFFFF1.361.0021.0021.00
#00000015.4621.001.001.00
##00000015.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD866
Deuteranopia (green-blind)
#F6E175
Tritanopia (blue-blind)
#FFCEC3
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f8dc70;
/* rgb */ color: rgb(248, 220, 112);
/* oklch */ color: oklch(89.7% 0.131 95.1);
Tailwind
colors: {
  custom: {
    50: '#fde69c',
    500: '#f8dc70',
    950: '#000000',
  },
}
SCSS
$custom: #f8dc70;
$custom-light: #fde69c;
$custom-dark: #000000;
JSON
{
  "hex": "#f8dc70",
  "rgb": {
    "r": 248,
    "g": 220,
    "b": 112
  },
  "hsl": {
    "h": 47.647,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.89651,
    "c": 0.13142,
    "h": 95.1
  },
  "luminance": 0.72313
}

Semantic roles & 50–950 ramp

primary
#F8DC70
secondary
#3959D3
accent
#2FE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F8DC70

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

Preview Lab → · Contrast checker → · Palette generator →

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