#F8DC77#F8DC77

#F8DC77 is a very light, vivid yellow. Relative luminance 0.725; OKLCH L 89.7% C 0.125 H 94.2°. Best body text is #000000 at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#F8DC77
RGBrgb(248, 220, 119)
HSLhsl(47, 90%, 72%)
HSVhsv(47, 52%, 97%)
CMYKcmyk(0%, 11.3%, 52%, 2.7%)
CIE-LABlab(88.20, -2.74, 52.66)
CIE-LCHlch(88.20, 52.73, 92.97°)
OKLaboklab(89.74% -0.0092 0.1246)
OKLCHoklch(89.74% 0.125 94.2)
XYZxyz(67.6368, 72.4777, 27.8761)
Luminance0.7248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DC77 #7793F8
analogous
#F89C77 #F8DC77 #D3F877
triadic
#F8DC77 #77F8DC #DC77F8
tetradic
#F8DC77 #77F89C #7793F8 #F877D3
square
#F8DC77 #77F89C #7793F8 #F877D3
split-complementary
#F8DC77 #77D3F8 #9C77F8
monochromatic
#E9B90C #F5CD3D #F8DC77 #FBEBB1 #FEF8E2

Accessibility & contrast

On white

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

On black

15.50
#F8DC77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DC77
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DC77#FFFFFF#000000##000000
##F8DC771.001.3615.5015.50
#FFFFFF1.361.0021.0021.00
#00000015.5021.001.001.00
##00000015.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED86E
Deuteranopia (green-blind)
#F6E17B
Tritanopia (blue-blind)
#FFCEC5
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f8dc77;
/* rgb */ color: rgb(248, 220, 119);
/* oklch */ color: oklch(89.7% 0.125 94.2);
Tailwind
colors: {
  custom: {
    50: '#fde6a0',
    500: '#f8dc77',
    950: '#000000',
  },
}
SCSS
$custom: #f8dc77;
$custom-light: #fde6a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f8dc77",
  "rgb": {
    "r": 248,
    "g": 220,
    "b": 119
  },
  "hsl": {
    "h": 46.977,
    "s": 90.21,
    "l": 71.961
  },
  "oklch": {
    "l": 0.89738,
    "c": 0.12496,
    "h": 94.2
  },
  "luminance": 0.72475
}

Semantic roles & 50–950 ramp

primary
#F8DC77
secondary
#3F60D4
accent
#32E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F8DC77

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

Preview Lab → · Contrast checker → · Palette generator →

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