#F5DD80#F5DD80

#F5DD80 is a very light, moderate yellow. Relative luminance 0.727; OKLCH L 89.8% C 0.116 H 95.3°. Best body text is #000000 at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#F5DD80
RGBrgb(245, 221, 128)
HSLhsl(48, 85%, 73%)
HSVhsv(48, 48%, 96%)
CMYKcmyk(0%, 9.8%, 47.8%, 3.9%)
CIE-LABlab(88.30, -3.66, 48.40)
CIE-LCHlch(88.30, 48.54, 94.33°)
OKLaboklab(89.79% -0.0108 0.116)
OKLCHoklch(89.79% 0.116 95.3)
XYZxyz(67.4110, 72.6866, 30.8969)
Luminance0.7268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DD80 #8098F5
analogous
#F5A280 #F5DD80 #D3F580
triadic
#F5DD80 #80F5DD #DD80F5
tetradic
#F5DD80 #80F5A2 #8098F5 #F580D3
square
#F5DD80 #80F5A2 #8098F5 #F580D3
split-complementary
#F5DD80 #80D3F5 #A280F5
monochromatic
#E8BC12 #F1CE47 #F5DD80 #F9ECB9 #FDF7E3

Accessibility & contrast

On white

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

On black

15.54
#F5DD80 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DD80
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DD80#FFFFFF#000000##000000
##F5DD801.001.3515.5415.54
#FFFFFF1.351.0021.0021.00
#00000015.5421.001.001.00
##00000015.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED978
Deuteranopia (green-blind)
#F4E184
Tritanopia (blue-blind)
#FFD0C7
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f5dd80;
/* rgb */ color: rgb(245, 221, 128);
/* oklch */ color: oklch(89.8% 0.116 95.3);
Tailwind
colors: {
  custom: {
    50: '#fae7a6',
    500: '#f5dd80',
    950: '#000000',
  },
}
SCSS
$custom: #f5dd80;
$custom-light: #fae7a6;
$custom-dark: #000000;
JSON
{
  "hex": "#f5dd80",
  "rgb": {
    "r": 245,
    "g": 221,
    "b": 128
  },
  "hsl": {
    "h": 47.692,
    "s": 85.401,
    "l": 73.137
  },
  "oklch": {
    "l": 0.8979,
    "c": 0.11648,
    "h": 95.3
  },
  "luminance": 0.72684
}

Semantic roles & 50–950 ramp

primary
#F5DD80
secondary
#4864D1
accent
#31E204
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F5DD80

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

Preview Lab → · Contrast checker → · Palette generator →

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