#F5DF80#F5DF80

#F5DF80 is a very light, moderate yellow. Relative luminance 0.737; OKLCH L 90.2% C 0.118 H 96.7°. Best body text is #000000 at 15.75:1 contrast (WCAG AA passes).

Color values

HEX#F5DF80
RGBrgb(245, 223, 128)
HSLhsl(49, 85%, 73%)
HSVhsv(49, 48%, 96%)
CMYKcmyk(0%, 9%, 47.8%, 3.9%)
CIE-LABlab(88.80, -4.68, 49.02)
CIE-LCHlch(88.80, 49.24, 95.45°)
OKLaboklab(90.19% -0.0137 0.1174)
OKLCHoklch(90.19% 0.118 96.7)
XYZxyz(67.9422, 73.7489, 31.0740)
Luminance0.7375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DF80 #8096F5
analogous
#F5A480 #F5DF80 #D0F580
triadic
#F5DF80 #80F5DF #DF80F5
tetradic
#F5DF80 #80F5A4 #8096F5 #F580D0
square
#F5DF80 #80F5A4 #8096F5 #F580D0
split-complementary
#F5DF80 #80D0F5 #A480F5
monochromatic
#E8C012 #F1D147 #F5DF80 #F9EDB9 #FDF8E3

Accessibility & contrast

On white

1.33
#F5DF80 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.75
#F5DF80 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DF80
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DF80#FFFFFF#000000##000000
##F5DF801.001.3315.7515.75
#FFFFFF1.331.0021.0021.00
#00000015.7521.001.001.00
##00000015.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5df80;
/* rgb */ color: rgb(245, 223, 128);
/* oklch */ color: oklch(90.2% 0.118 96.7);
Tailwind
colors: {
  custom: {
    50: '#fae8a6',
    500: '#f5df80',
    950: '#000000',
  },
}
SCSS
$custom: #f5df80;
$custom-light: #fae8a6;
$custom-dark: #000000;
JSON
{
  "hex": "#f5df80",
  "rgb": {
    "r": 245,
    "g": 223,
    "b": 128
  },
  "hsl": {
    "h": 48.718,
    "s": 85.401,
    "l": 73.137
  },
  "oklch": {
    "l": 0.9019,
    "c": 0.11816,
    "h": 96.7
  },
  "luminance": 0.73746
}

Semantic roles & 50–950 ramp

primary
#F5DF80
secondary
#4862D1
accent
#2DE204
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F5DF80

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

Preview Lab → · Contrast checker → · Palette generator →

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