#F5DE79#F5DE79

#F5DE79 is a very light, vivid yellow. Relative luminance 0.730; OKLCH L 89.9% C 0.124 H 96.8°. Best body text is #000000 at 15.61:1 contrast (WCAG AA passes).

Color values

HEX#F5DE79
RGBrgb(245, 222, 121)
HSLhsl(49, 86%, 72%)
HSVhsv(49, 51%, 96%)
CMYKcmyk(0%, 9.4%, 50.6%, 3.9%)
CIE-LABlab(88.47, -4.79, 51.97)
CIE-LCHlch(88.47, 52.19, 95.26°)
OKLaboklab(89.9% -0.0147 0.1233)
OKLCHoklch(89.9% 0.124 96.8)
XYZxyz(67.2309, 73.0382, 28.6419)
Luminance0.7304 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DE79 #7990F5
analogous
#F5A079 #F5DE79 #CEF579
triadic
#F5DE79 #79F5DE #DE79F5
tetradic
#F5DE79 #79F5A0 #7990F5 #F579CE
square
#F5DE79 #79F5A0 #7990F5 #F579CE
split-complementary
#F5DE79 #79CEF5 #A079F5
monochromatic
#E3BC11 #F1D040 #F5DE79 #F9ECB2 #FDF8E3

Accessibility & contrast

On white

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

On black

15.61
#F5DE79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DE79
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DE79#FFFFFF#000000##000000
##F5DE791.001.3515.6115.61
#FFFFFF1.351.0021.0021.00
#00000015.6121.001.001.00
##00000015.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DA70
Deuteranopia (green-blind)
#F6E17D
Tritanopia (blue-blind)
#FFD1C6
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f5de79;
/* rgb */ color: rgb(245, 222, 121);
/* oklch */ color: oklch(89.9% 0.124 96.8);
Tailwind
colors: {
  custom: {
    50: '#fbe8a2',
    500: '#f5de79',
    950: '#000000',
  },
}
SCSS
$custom: #f5de79;
$custom-light: #fbe8a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f5de79",
  "rgb": {
    "r": 245,
    "g": 222,
    "b": 121
  },
  "hsl": {
    "h": 48.871,
    "s": 86.111,
    "l": 71.765
  },
  "oklch": {
    "l": 0.89895,
    "c": 0.12421,
    "h": 96.8
  },
  "luminance": 0.73036
}

Semantic roles & 50–950 ramp

primary
#F5DE79
secondary
#425CD0
accent
#2CE303
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F5DE79

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

Preview Lab → · Contrast checker → · Palette generator →

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