#F5D76C#F5D76C

#F5D76C is a very light, vivid yellow. Relative luminance 0.691; OKLCH L 88.3% C 0.131 H 93.9°. Best body text is #000000 at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#F5D76C
RGBrgb(245, 215, 108)
HSLhsl(47, 87%, 69%)
HSVhsv(47, 56%, 96%)
CMYKcmyk(0%, 12.2%, 55.9%, 3.9%)
CIE-LABlab(86.55, -2.28, 55.81)
CIE-LCHlch(86.55, 55.86, 92.34°)
OKLaboklab(88.34% -0.0089 0.1305)
OKLCHoklch(88.34% 0.131 93.9)
XYZxyz(64.6660, 69.0991, 24.1157)
Luminance0.6910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D76C #6C8AF5
analogous
#F5936C #F5D76C #CFF56C
triadic
#F5D76C #6CF5D7 #D76CF5
tetradic
#F5D76C #6CF593 #6C8AF5 #F56CCF
square
#F5D76C #6CF593 #6C8AF5 #F56CCF
split-complementary
#F5D76C #6CCFF5 #936CF5
monochromatic
#D8AC0F #F1C733 #F5D76C #F9E7A5 #FDF6DF

Accessibility & contrast

On white

1.42
#F5D76C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.82
#F5D76C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D76C
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D76C#FFFFFF#000000##000000
##F5D76C1.001.4214.8214.82
#FFFFFF1.421.0021.0021.00
#00000014.8221.001.001.00
##00000014.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD362
Deuteranopia (green-blind)
#F2DD71
Tritanopia (blue-blind)
#FFC9BF
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f5d76c;
/* rgb */ color: rgb(245, 215, 108);
/* oklch */ color: oklch(88.3% 0.131 93.9);
Tailwind
colors: {
  custom: {
    50: '#fbe399',
    500: '#f5d76c',
    950: '#000000',
  },
}
SCSS
$custom: #f5d76c;
$custom-light: #fbe399;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d76c",
  "rgb": {
    "r": 245,
    "g": 215,
    "b": 108
  },
  "hsl": {
    "h": 46.861,
    "s": 87.261,
    "l": 69.216
  },
  "oklch": {
    "l": 0.88336,
    "c": 0.13077,
    "h": 93.9
  },
  "luminance": 0.69096
}

Semantic roles & 50–950 ramp

primary
#F5D76C
secondary
#3758CF
accent
#33E402
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F5D76C

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

Preview Lab → · Contrast checker → · Palette generator →

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