#F5DC60#F5DC60

#F5DC60 is a very light, vivid yellow. Relative luminance 0.714; OKLCH L 89.2% C 0.145 H 97.9°. Best body text is #000000 at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#F5DC60
RGBrgb(245, 220, 96)
HSLhsl(50, 88%, 67%)
HSVhsv(50, 61%, 96%)
CMYKcmyk(0%, 10.2%, 60.8%, 3.9%)
CIE-LABlab(87.70, -5.65, 62.49)
CIE-LCHlch(87.70, 62.75, 95.17°)
OKLaboklab(89.21% -0.02 0.1434)
OKLCHoklch(89.21% 0.145 97.9)
XYZxyz(65.3634, 71.4463, 21.4116)
Luminance0.7144 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DC60 #6079F5
analogous
#F59260 #F5DC60 #C4F560
triadic
#F5DC60 #60F5DC #DC60F5
tetradic
#F5DC60 #60F592 #6079F5 #F560C4
square
#F5DC60 #60F592 #6079F5 #F560C4
split-complementary
#F5DC60 #60C4F5 #9260F5
monochromatic
#CEAD0D #F1CF26 #F5DC60 #F9E99A #FCF5D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5DC60#FFFFFF#000000##000000
##F5DC601.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)
#F0D752
Deuteranopia (green-blind)
#F6E066
Tritanopia (blue-blind)
#FFCDC1
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f5dc60;
/* rgb */ color: rgb(245, 220, 96);
/* oklch */ color: oklch(89.2% 0.145 97.9);
Tailwind
colors: {
  custom: {
    50: '#fce692',
    500: '#f5dc60',
    950: '#000000',
  },
}
SCSS
$custom: #f5dc60;
$custom-light: #fce692;
$custom-dark: #000000;
JSON
{
  "hex": "#f5dc60",
  "rgb": {
    "r": 245,
    "g": 220,
    "b": 96
  },
  "hsl": {
    "h": 49.933,
    "s": 88.166,
    "l": 66.863
  },
  "oklch": {
    "l": 0.89207,
    "c": 0.14477,
    "h": 97.9
  },
  "luminance": 0.71443
}

Semantic roles & 50–950 ramp

primary
#F5DC60
secondary
#304AC9
accent
#27E501
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F5DC60

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

Preview Lab → · Contrast checker → · Palette generator →

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