#F5DC64#F5DC64

#F5DC64 is a very light, vivid yellow. Relative luminance 0.715; OKLCH L 89.2% C 0.141 H 97.6°. Best body text is #000000 at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#F5DC64
RGBrgb(245, 220, 100)
HSLhsl(50, 88%, 68%)
HSVhsv(50, 59%, 96%)
CMYKcmyk(0%, 10.2%, 59.2%, 3.9%)
CIE-LABlab(87.74, -5.39, 60.78)
CIE-LCHlch(87.74, 61.02, 95.06°)
OKLaboklab(89.25% -0.0188 0.1402)
OKLCHoklch(89.25% 0.141 97.6)
XYZxyz(65.5523, 71.5219, 22.4063)
Luminance0.7152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DC64 #647DF5
analogous
#F59364 #F5DC64 #C6F564
triadic
#F5DC64 #64F5DC #DC64F5
tetradic
#F5DC64 #64F593 #647DF5 #F564C6
square
#F5DC64 #64F593 #647DF5 #F564C6
split-complementary
#F5DC64 #64C6F5 #9364F5
monochromatic
#D1AF0D #F1CF2B #F5DC64 #F9E99D #FCF6D7

Accessibility & contrast

On white

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

On black

15.30
#F5DC64 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DC64
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DC64#FFFFFF#000000##000000
##F5DC641.001.3715.3015.30
#FFFFFF1.371.0021.0021.00
#00000015.3021.001.001.00
##00000015.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD757
Deuteranopia (green-blind)
#F6E06A
Tritanopia (blue-blind)
#FFCDC2
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f5dc64;
/* rgb */ color: rgb(245, 220, 100);
/* oklch */ color: oklch(89.2% 0.141 97.6);
Tailwind
colors: {
  custom: {
    50: '#fbe694',
    500: '#f5dc64',
    950: '#000000',
  },
}
SCSS
$custom: #f5dc64;
$custom-light: #fbe694;
$custom-dark: #000000;
JSON
{
  "hex": "#f5dc64",
  "rgb": {
    "r": 245,
    "g": 220,
    "b": 100
  },
  "hsl": {
    "h": 49.655,
    "s": 87.879,
    "l": 67.647
  },
  "oklch": {
    "l": 0.89248,
    "c": 0.14149,
    "h": 97.6
  },
  "luminance": 0.71519
}

Semantic roles & 50–950 ramp

primary
#F5DC64
secondary
#314CCC
accent
#28E401
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F5DC64

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

Preview Lab → · Contrast checker → · Palette generator →

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