#F5D563#F5D563

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

Color values

HEX#F5D563
RGBrgb(245, 213, 99)
HSLhsl(47, 88%, 67%)
HSVhsv(47, 60%, 96%)
CMYKcmyk(0%, 13.1%, 59.6%, 3.9%)
CIE-LABlab(85.96, -1.91, 59.23)
CIE-LCHlch(85.96, 59.26, 91.84°)
OKLaboklab(87.84% -0.0089 0.1368)
OKLCHoklch(87.84% 0.137 93.7)
XYZxyz(63.7053, 67.9050, 21.5534)
Luminance0.6790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D563 #6383F5
analogous
#F58C63 #F5D563 #CCF563
triadic
#F5D563 #63F5D5 #D563F5
tetradic
#F5D563 #63F58C #6383F5 #F563CC
square
#F5D563 #63F58C #6383F5 #F563CC
split-complementary
#F5D563 #63CCF5 #8C63F5
monochromatic
#D0A60D #F1C629 #F5D563 #F9E49D #FCF4D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5D563#FFFFFF#000000##000000
##F5D5631.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)
#E9D157
Deuteranopia (green-blind)
#F1DB68
Tritanopia (blue-blind)
#FFC6BC
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f5d563;
/* rgb */ color: rgb(245, 213, 99);
/* oklch */ color: oklch(87.8% 0.137 93.7);
Tailwind
colors: {
  custom: {
    50: '#fce193',
    500: '#f5d563',
    950: '#000000',
  },
}
SCSS
$custom: #f5d563;
$custom-light: #fce193;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d563",
  "rgb": {
    "r": 245,
    "g": 213,
    "b": 99
  },
  "hsl": {
    "h": 46.849,
    "s": 87.952,
    "l": 67.451
  },
  "oklch": {
    "l": 0.87838,
    "c": 0.13709,
    "h": 93.7
  },
  "luminance": 0.67902
}

Semantic roles & 50–950 ramp

primary
#F5D563
secondary
#3052CC
accent
#33E501
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F5D563

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

Preview Lab → · Contrast checker → · Palette generator →

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