#F8D875#F8D875

#F8D875 is a very light, vivid yellow. Relative luminance 0.704; OKLCH L 88.9% C 0.124 H 91.8°. Best body text is #000000 at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#F8D875
RGBrgb(248, 216, 117)
HSLhsl(45, 90%, 72%)
HSVhsv(45, 53%, 97%)
CMYKcmyk(0%, 12.9%, 52.8%, 2.7%)
CIE-LABlab(87.17, -0.87, 52.38)
CIE-LCHlch(87.17, 52.39, 90.95°)
OKLaboklab(88.92% -0.004 0.1238)
OKLCHoklch(88.92% 0.124 91.8)
XYZxyz(66.4807, 70.3557, 26.9044)
Luminance0.7035 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D875 #7595F8
analogous
#F89775 #F8D875 #D6F875
triadic
#F8D875 #75F8D8 #D875F8
tetradic
#F8D875 #75F897 #7595F8 #F875D6
square
#F8D875 #75F897 #7595F8 #F875D6
split-complementary
#F8D875 #75D6F8 #9775F8
monochromatic
#E7B10C #F5C83B #F8D875 #FBE8AF #FEF7E2

Accessibility & contrast

On white

1.39
#F8D875 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.07
#F8D875 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D875
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D875#FFFFFF#000000##000000
##F8D8751.001.3915.0715.07
#FFFFFF1.391.0021.0021.00
#00000015.0721.001.001.00
##00000015.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD56C
Deuteranopia (green-blind)
#F3DE79
Tritanopia (blue-blind)
#FFCAC1
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f8d875;
/* rgb */ color: rgb(248, 216, 117);
/* oklch */ color: oklch(88.9% 0.124 91.8);
Tailwind
colors: {
  custom: {
    50: '#fde39f',
    500: '#f8d875',
    950: '#000000',
  },
}
SCSS
$custom: #f8d875;
$custom-light: #fde39f;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d875",
  "rgb": {
    "r": 248,
    "g": 216,
    "b": 117
  },
  "hsl": {
    "h": 45.344,
    "s": 90.345,
    "l": 71.569
  },
  "oklch": {
    "l": 0.88919,
    "c": 0.12389,
    "h": 91.8
  },
  "luminance": 0.70353
}

Semantic roles & 50–950 ramp

primary
#F8D875
secondary
#3E62D3
accent
#38E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F8D875

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

Preview Lab → · Contrast checker → · Palette generator →

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