#F8DF80#F8DF80

#F8DF80 is a very light, moderate yellow. Relative luminance 0.743; OKLCH L 90.5% C 0.119 H 95.0°. Best body text is #000000 at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#F8DF80
RGBrgb(248, 223, 128)
HSLhsl(48, 90%, 74%)
HSVhsv(48, 48%, 97%)
CMYKcmyk(0%, 10.1%, 48.4%, 2.7%)
CIE-LABlab(89.06, -3.48, 49.39)
CIE-LCHlch(89.06, 49.52, 94.03°)
OKLaboklab(90.45% -0.0104 0.1182)
OKLCHoklch(90.45% 0.119 95)
XYZxyz(68.9975, 74.2931, 31.1235)
Luminance0.7429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DF80 #8099F8
analogous
#F8A380 #F8DF80 #D5F880
triadic
#F8DF80 #80F8DF #DF80F8
tetradic
#F8DF80 #80F8A3 #8099F8 #F880D5
square
#F8DF80 #80F8A3 #8099F8 #F880D5
split-complementary
#F8DF80 #80D5F8 #A380F8
monochromatic
#F0C10D #F5D046 #F8DF80 #FBEEBA #FDF8E2

Accessibility & contrast

On white

1.32
#F8DF80 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.86
#F8DF80 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DF80
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DF80#FFFFFF#000000##000000
##F8DF801.001.3215.8615.86
#FFFFFF1.321.0021.0021.00
#00000015.8621.001.001.00
##00000015.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DB78
Deuteranopia (green-blind)
#F7E384
Tritanopia (blue-blind)
#FFD2C8
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f8df80;
/* rgb */ color: rgb(248, 223, 128);
/* oklch */ color: oklch(90.5% 0.119 95.0);
Tailwind
colors: {
  custom: {
    50: '#fde8a6',
    500: '#f8df80',
    950: '#000000',
  },
}
SCSS
$custom: #f8df80;
$custom-light: #fde8a6;
$custom-dark: #000000;
JSON
{
  "hex": "#f8df80",
  "rgb": {
    "r": 248,
    "g": 223,
    "b": 128
  },
  "hsl": {
    "h": 47.5,
    "s": 89.552,
    "l": 73.725
  },
  "oklch": {
    "l": 0.90454,
    "c": 0.11861,
    "h": 95
  },
  "luminance": 0.7429
}

Semantic roles & 50–950 ramp

primary
#F8DF80
secondary
#4765D5
accent
#30E600
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F8DF80

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

Preview Lab → · Contrast checker → · Palette generator →

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