#F5DD79#F5DD79

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

Color values

HEX#F5DD79
RGBrgb(245, 221, 121)
HSLhsl(48, 86%, 72%)
HSVhsv(48, 51%, 96%)
CMYKcmyk(0%, 9.8%, 50.6%, 3.9%)
CIE-LABlab(88.21, -4.28, 51.66)
CIE-LCHlch(88.21, 51.84, 94.74°)
OKLaboklab(89.7% -0.0133 0.1227)
OKLCHoklch(89.7% 0.123 96.2)
XYZxyz(66.9661, 72.5086, 28.5536)
Luminance0.7251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DD79 #7991F5
analogous
#F59F79 #F5DD79 #CFF579
triadic
#F5DD79 #79F5DD #DD79F5
tetradic
#F5DD79 #79F59F #7991F5 #F579CF
square
#F5DD79 #79F59F #7991F5 #F579CF
split-complementary
#F5DD79 #79CFF5 #9F79F5
monochromatic
#E3BA11 #F1CF40 #F5DD79 #F9EBB2 #FDF8E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5DD79#FFFFFF#000000##000000
##F5DD791.001.3515.5015.50
#FFFFFF1.351.0021.0021.00
#00000015.5021.001.001.00
##00000015.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD970
Deuteranopia (green-blind)
#F5E17D
Tritanopia (blue-blind)
#FFD0C6
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f5dd79;
/* rgb */ color: rgb(245, 221, 121);
/* oklch */ color: oklch(89.7% 0.123 96.2);
Tailwind
colors: {
  custom: {
    50: '#fbe7a2',
    500: '#f5dd79',
    950: '#000000',
  },
}
SCSS
$custom: #f5dd79;
$custom-light: #fbe7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f5dd79",
  "rgb": {
    "r": 245,
    "g": 221,
    "b": 121
  },
  "hsl": {
    "h": 48.387,
    "s": 86.111,
    "l": 71.765
  },
  "oklch": {
    "l": 0.89695,
    "c": 0.12338,
    "h": 96.2
  },
  "luminance": 0.72506
}

Semantic roles & 50–950 ramp

primary
#F5DD79
secondary
#425ED0
accent
#2EE303
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F5DD79

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

Preview Lab → · Contrast checker → · Palette generator →

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