#F5D779#F5D779

#F5D779 is a very light, moderate yellow. Relative luminance 0.694; OKLCH L 88.5% C 0.119 H 92.1°. Best body text is #000000 at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#F5D779
RGBrgb(245, 215, 121)
HSLhsl(45, 86%, 72%)
HSVhsv(45, 51%, 96%)
CMYKcmyk(0%, 12.2%, 50.6%, 3.9%)
CIE-LABlab(86.70, -1.23, 49.83)
CIE-LCHlch(86.70, 49.85, 91.42°)
OKLaboklab(88.5% -0.0044 0.1186)
OKLCHoklch(88.5% 0.119 92.1)
XYZxyz(65.4101, 69.3968, 28.0350)
Luminance0.6939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D779 #7997F5
analogous
#F59979 #F5D779 #D5F579
triadic
#F5D779 #79F5D7 #D779F5
tetradic
#F5D779 #79F599 #7997F5 #F579D5
square
#F5D779 #79F599 #7997F5 #F579D5
split-complementary
#F5D779 #79D5F5 #9979F5
monochromatic
#E3B011 #F1C640 #F5D779 #F9E8B2 #FDF7E3

Accessibility & contrast

On white

1.41
#F5D779 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.88
#F5D779 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D779
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D779#FFFFFF#000000##000000
##F5D7791.001.4114.8814.88
#FFFFFF1.411.0021.0021.00
#00000014.8821.001.001.00
##00000014.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D471
Deuteranopia (green-blind)
#F1DD7D
Tritanopia (blue-blind)
#FFCAC1
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f5d779;
/* rgb */ color: rgb(245, 215, 121);
/* oklch */ color: oklch(88.5% 0.119 92.1);
Tailwind
colors: {
  custom: {
    50: '#fbe3a1',
    500: '#f5d779',
    950: '#000000',
  },
}
SCSS
$custom: #f5d779;
$custom-light: #fbe3a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d779",
  "rgb": {
    "r": 245,
    "g": 215,
    "b": 121
  },
  "hsl": {
    "h": 45.484,
    "s": 86.111,
    "l": 71.765
  },
  "oklch": {
    "l": 0.885,
    "c": 0.11871,
    "h": 92.1
  },
  "luminance": 0.69394
}

Semantic roles & 50–950 ramp

primary
#F5D779
secondary
#4264D0
accent
#39E303
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F5D779

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

Preview Lab → · Contrast checker → · Palette generator →

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