#F8DC85#F8DC85

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

Color values

HEX#F8DC85
RGBrgb(248, 220, 133)
HSLhsl(45, 89%, 75%)
HSVhsv(45, 46%, 97%)
CMYKcmyk(0%, 11.3%, 46.4%, 2.7%)
CIE-LABlab(88.37, -1.50, 46.10)
CIE-LCHlch(88.37, 46.13, 91.87°)
OKLaboklab(89.93% -0.0042 0.1112)
OKLCHoklch(89.93% 0.111 92.1)
XYZxyz(68.5404, 72.8391, 32.6348)
Luminance0.7284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DC85 #85A1F8
analogous
#F8A285 #F8DC85 #DBF885
triadic
#F8DC85 #85F8DC #DC85F8
tetradic
#F8DC85 #85F8A2 #85A1F8 #F885DB
square
#F8DC85 #85F8A2 #85A1F8 #F885DB
split-complementary
#F8DC85 #85DBF8 #A285F8
monochromatic
#F1BB11 #F5CB4B #F8DC85 #FBEDBF #FDF7E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8DC85#FFFFFF#000000##000000
##F8DC851.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)
#EDD97E
Deuteranopia (green-blind)
#F4E188
Tritanopia (blue-blind)
#FFCFC7
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f8dc85;
/* rgb */ color: rgb(248, 220, 133);
/* oklch */ color: oklch(89.9% 0.111 92.1);
Tailwind
colors: {
  custom: {
    50: '#fce6aa',
    500: '#f8dc85',
    950: '#000000',
  },
}
SCSS
$custom: #f8dc85;
$custom-light: #fce6aa;
$custom-dark: #000000;
JSON
{
  "hex": "#f8dc85",
  "rgb": {
    "r": 248,
    "g": 220,
    "b": 133
  },
  "hsl": {
    "h": 45.391,
    "s": 89.147,
    "l": 74.706
  },
  "oklch": {
    "l": 0.8993,
    "c": 0.11124,
    "h": 92.1
  },
  "luminance": 0.72836
}

Semantic roles & 50–950 ramp

primary
#F8DC85
secondary
#4C6DD5
accent
#38E600
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#181510
muted
#868481

Preview Lab

Preview with #F8DC85

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

Preview Lab → · Contrast checker → · Palette generator →

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