#F5DC79#F5DC79

#F5DC79 is a very light, vivid yellow. Relative luminance 0.720; OKLCH L 89.5% C 0.123 H 95.5°. Best body text is #000000 at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#F5DC79
RGBrgb(245, 220, 121)
HSLhsl(48, 86%, 72%)
HSVhsv(48, 51%, 96%)
CMYKcmyk(0%, 10.2%, 50.6%, 3.9%)
CIE-LABlab(87.96, -3.77, 51.36)
CIE-LCHlch(87.96, 51.50, 94.20°)
OKLaboklab(89.5% -0.0118 0.122)
OKLCHoklch(89.5% 0.123 95.5)
XYZxyz(66.7028, 71.9821, 28.4658)
Luminance0.7198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DC79 #7992F5
analogous
#F59E79 #F5DC79 #D0F579
triadic
#F5DC79 #79F5DC #DC79F5
tetradic
#F5DC79 #79F59E #7992F5 #F579D0
square
#F5DC79 #79F59E #7992F5 #F579D0
split-complementary
#F5DC79 #79D0F5 #9E79F5
monochromatic
#E3B811 #F1CD40 #F5DC79 #F9EBB2 #FDF8E3

Accessibility & contrast

On white

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

On black

15.40
#F5DC79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DC79
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DC79#FFFFFF#000000##000000
##F5DC791.001.3615.4015.40
#FFFFFF1.361.0021.0021.00
#00000015.4021.001.001.00
##00000015.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED870
Deuteranopia (green-blind)
#F4E07D
Tritanopia (blue-blind)
#FFCFC5
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f5dc79;
/* rgb */ color: rgb(245, 220, 121);
/* oklch */ color: oklch(89.5% 0.123 95.5);
Tailwind
colors: {
  custom: {
    50: '#fbe6a2',
    500: '#f5dc79',
    950: '#000000',
  },
}
SCSS
$custom: #f5dc79;
$custom-light: #fbe6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f5dc79",
  "rgb": {
    "r": 245,
    "g": 220,
    "b": 121
  },
  "hsl": {
    "h": 47.903,
    "s": 86.111,
    "l": 71.765
  },
  "oklch": {
    "l": 0.89495,
    "c": 0.12256,
    "h": 95.5
  },
  "luminance": 0.71979
}

Semantic roles & 50–950 ramp

primary
#F5DC79
secondary
#425FD0
accent
#30E303
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F5DC79

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

Preview Lab → · Contrast checker → · Palette generator →

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