#F5DF79#F5DF79

#F5DF79 is a very light, vivid yellow. Relative luminance 0.736; OKLCH L 90.1% C 0.125 H 97.4°. Best body text is #000000 at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#F5DF79
RGBrgb(245, 223, 121)
HSLhsl(49, 86%, 72%)
HSVhsv(49, 51%, 96%)
CMYKcmyk(0%, 9%, 50.6%, 3.9%)
CIE-LABlab(88.72, -5.29, 52.27)
CIE-LCHlch(88.72, 52.54, 95.78°)
OKLaboklab(90.1% -0.0162 0.124)
OKLCHoklch(90.1% 0.125 97.4)
XYZxyz(67.4972, 73.5710, 28.7307)
Luminance0.7357 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DF79 #798FF5
analogous
#F5A179 #F5DF79 #CDF579
triadic
#F5DF79 #79F5DF #DF79F5
tetradic
#F5DF79 #79F5A1 #798FF5 #F579CD
square
#F5DF79 #79F5A1 #798FF5 #F579CD
split-complementary
#F5DF79 #79CDF5 #A179F5
monochromatic
#E3BD11 #F1D140 #F5DF79 #F9EDB2 #FDF8E3

Accessibility & contrast

On white

1.34
#F5DF79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.71
#F5DF79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DF79
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DF79#FFFFFF#000000##000000
##F5DF791.001.3415.7115.71
#FFFFFF1.341.0021.0021.00
#00000015.7121.001.001.00
##00000015.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DA70
Deuteranopia (green-blind)
#F7E27D
Tritanopia (blue-blind)
#FFD2C7
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f5df79;
/* rgb */ color: rgb(245, 223, 121);
/* oklch */ color: oklch(90.1% 0.125 97.4);
Tailwind
colors: {
  custom: {
    50: '#fbe8a2',
    500: '#f5df79',
    950: '#000000',
  },
}
SCSS
$custom: #f5df79;
$custom-light: #fbe8a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f5df79",
  "rgb": {
    "r": 245,
    "g": 223,
    "b": 121
  },
  "hsl": {
    "h": 49.355,
    "s": 86.111,
    "l": 71.765
  },
  "oklch": {
    "l": 0.90096,
    "c": 0.12505,
    "h": 97.4
  },
  "luminance": 0.73568
}

Semantic roles & 50–950 ramp

primary
#F5DF79
secondary
#425BD0
accent
#2BE303
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F5DF79

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

Preview Lab → · Contrast checker → · Palette generator →

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