#F5D564#F5D564

#F5D564 is a very light, vivid yellow. Relative luminance 0.679; OKLCH L 87.8% C 0.136 H 93.6°. Best body text is #000000 at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#F5D564
RGBrgb(245, 213, 100)
HSLhsl(47, 88%, 68%)
HSVhsv(47, 59%, 96%)
CMYKcmyk(0%, 13.1%, 59.2%, 3.9%)
CIE-LABlab(85.97, -1.84, 58.79)
CIE-LCHlch(85.97, 58.82, 91.79°)
OKLaboklab(87.85% -0.0086 0.136)
OKLCHoklch(87.85% 0.136 93.6)
XYZxyz(63.7535, 67.9242, 21.8067)
Luminance0.6792 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D564 #6484F5
analogous
#F58D64 #F5D564 #CCF564
triadic
#F5D564 #64F5D5 #D564F5
tetradic
#F5D564 #64F58D #6484F5 #F564CC
square
#F5D564 #64F58D #6484F5 #F564CC
split-complementary
#F5D564 #64CCF5 #8D64F5
monochromatic
#D1A60D #F1C52B #F5D564 #F9E59D #FCF4D7

Accessibility & contrast

On white

1.44
#F5D564 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.58
#F5D564 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D564
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D564#FFFFFF#000000##000000
##F5D5641.001.4414.5814.58
#FFFFFF1.441.0021.0021.00
#00000014.5821.001.001.00
##00000014.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D158
Deuteranopia (green-blind)
#F1DB69
Tritanopia (blue-blind)
#FFC6BC
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f5d564;
/* rgb */ color: rgb(245, 213, 100);
/* oklch */ color: oklch(87.8% 0.136 93.6);
Tailwind
colors: {
  custom: {
    50: '#fce194',
    500: '#f5d564',
    950: '#000000',
  },
}
SCSS
$custom: #f5d564;
$custom-light: #fce194;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d564",
  "rgb": {
    "r": 245,
    "g": 213,
    "b": 100
  },
  "hsl": {
    "h": 46.759,
    "s": 87.879,
    "l": 67.647
  },
  "oklch": {
    "l": 0.87848,
    "c": 0.13625,
    "h": 93.6
  },
  "luminance": 0.67921
}

Semantic roles & 50–950 ramp

primary
#F5D564
secondary
#3153CC
accent
#33E401
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F5D564

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

Preview Lab → · Contrast checker → · Palette generator →

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