#F5DC76#F5DC76

#F5DC76 is a very light, vivid yellow. Relative luminance 0.719; OKLCH L 89.5% C 0.125 H 95.9°. Best body text is #000000 at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#F5DC76
RGBrgb(245, 220, 118)
HSLhsl(48, 86%, 71%)
HSVhsv(48, 52%, 96%)
CMYKcmyk(0%, 10.2%, 51.8%, 3.9%)
CIE-LABlab(87.93, -4.03, 52.74)
CIE-LCHlch(87.93, 52.89, 94.37°)
OKLaboklab(89.46% -0.0128 0.1248)
OKLCHoklch(89.46% 0.125 95.9)
XYZxyz(66.5217, 71.9097, 27.5120)
Luminance0.7191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DC76 #768FF5
analogous
#F59C76 #F5DC76 #CEF576
triadic
#F5DC76 #76F5DC #DC76F5
tetradic
#F5DC76 #76F59C #768FF5 #F576CE
square
#F5DC76 #76F59C #768FF5 #F576CE
split-complementary
#F5DC76 #76CEF5 #9C76F5
monochromatic
#E0B710 #F1CD3D #F5DC76 #F9EBAF #FDF8E2

Accessibility & contrast

On white

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

On black

15.38
#F5DC76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DC76
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DC76#FFFFFF#000000##000000
##F5DC761.001.3715.3815.38
#FFFFFF1.371.0021.0021.00
#00000015.3821.001.001.00
##00000015.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED86D
Deuteranopia (green-blind)
#F5E07A
Tritanopia (blue-blind)
#FFCFC4
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f5dc76;
/* rgb */ color: rgb(245, 220, 118);
/* oklch */ color: oklch(89.5% 0.125 95.9);
Tailwind
colors: {
  custom: {
    50: '#fbe6a0',
    500: '#f5dc76',
    950: '#000000',
  },
}
SCSS
$custom: #f5dc76;
$custom-light: #fbe6a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f5dc76",
  "rgb": {
    "r": 245,
    "g": 220,
    "b": 118
  },
  "hsl": {
    "h": 48.189,
    "s": 86.395,
    "l": 71.176
  },
  "oklch": {
    "l": 0.89456,
    "c": 0.12543,
    "h": 95.9
  },
  "luminance": 0.71907
}

Semantic roles & 50–950 ramp

primary
#F5DC76
secondary
#3F5CD0
accent
#2FE303
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F5DC76

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

Preview Lab → · Contrast checker → · Palette generator →

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