#F5DB79#F5DB79

#F5DB79 is a very light, vivid yellow. Relative luminance 0.715; OKLCH L 89.3% C 0.122 H 94.9°. Best body text is #000000 at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#F5DB79
RGBrgb(245, 219, 121)
HSLhsl(47, 86%, 72%)
HSVhsv(47, 51%, 96%)
CMYKcmyk(0%, 10.6%, 50.6%, 3.9%)
CIE-LABlab(87.71, -3.27, 51.05)
CIE-LCHlch(87.71, 51.16, 93.66°)
OKLaboklab(89.3% -0.0103 0.1213)
OKLCHoklch(89.3% 0.122 94.9)
XYZxyz(66.4412, 71.4588, 28.3786)
Luminance0.7146 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DB79 #7993F5
analogous
#F59D79 #F5DB79 #D1F579
triadic
#F5DB79 #79F5DB #DB79F5
tetradic
#F5DB79 #79F59D #7993F5 #F579D1
square
#F5DB79 #79F59D #7993F5 #F579D1
split-complementary
#F5DB79 #79D1F5 #9D79F5
monochromatic
#E3B711 #F1CC40 #F5DB79 #F9EAB2 #FDF7E3

Accessibility & contrast

On white

1.37
#F5DB79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.29
#F5DB79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DB79
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DB79#FFFFFF#000000##000000
##F5DB791.001.3715.2915.29
#FFFFFF1.371.0021.0021.00
#00000015.2921.001.001.00
##00000015.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD770
Deuteranopia (green-blind)
#F4DF7D
Tritanopia (blue-blind)
#FFCEC4
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f5db79;
/* rgb */ color: rgb(245, 219, 121);
/* oklch */ color: oklch(89.3% 0.122 94.9);
Tailwind
colors: {
  custom: {
    50: '#fbe5a2',
    500: '#f5db79',
    950: '#000000',
  },
}
SCSS
$custom: #f5db79;
$custom-light: #fbe5a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f5db79",
  "rgb": {
    "r": 245,
    "g": 219,
    "b": 121
  },
  "hsl": {
    "h": 47.419,
    "s": 86.111,
    "l": 71.765
  },
  "oklch": {
    "l": 0.89296,
    "c": 0.12176,
    "h": 94.9
  },
  "luminance": 0.71456
}

Semantic roles & 50–950 ramp

primary
#F5DB79
secondary
#4260D0
accent
#32E303
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F5DB79

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

Preview Lab → · Contrast checker → · Palette generator →

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