#F5DC63#F5DC63

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

Color values

HEX#F5DC63
RGBrgb(245, 220, 99)
HSLhsl(50, 88%, 67%)
HSVhsv(50, 60%, 96%)
CMYKcmyk(0%, 10.2%, 59.6%, 3.9%)
CIE-LABlab(87.73, -5.45, 61.21)
CIE-LCHlch(87.73, 61.45, 95.09°)
OKLaboklab(89.24% -0.0191 0.141)
OKLCHoklch(89.24% 0.142 97.7)
XYZxyz(65.5042, 71.5027, 22.1530)
Luminance0.7150 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DC63 #637CF5
analogous
#F59363 #F5DC63 #C5F563
triadic
#F5DC63 #63F5DC #DC63F5
tetradic
#F5DC63 #63F593 #637CF5 #F563C5
square
#F5DC63 #63F593 #637CF5 #F563C5
split-complementary
#F5DC63 #63C5F5 #9363F5
monochromatic
#D0AF0D #F1CF29 #F5DC63 #F9E99D #FCF6D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5DC63#FFFFFF#000000##000000
##F5DC631.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)
#EFD756
Deuteranopia (green-blind)
#F6E069
Tritanopia (blue-blind)
#FFCDC2
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f5dc63;
/* rgb */ color: rgb(245, 220, 99);
/* oklch */ color: oklch(89.2% 0.142 97.7);
Tailwind
colors: {
  custom: {
    50: '#fce694',
    500: '#f5dc63',
    950: '#000000',
  },
}
SCSS
$custom: #f5dc63;
$custom-light: #fce694;
$custom-dark: #000000;
JSON
{
  "hex": "#f5dc63",
  "rgb": {
    "r": 245,
    "g": 220,
    "b": 99
  },
  "hsl": {
    "h": 49.726,
    "s": 87.952,
    "l": 67.451
  },
  "oklch": {
    "l": 0.89238,
    "c": 0.14232,
    "h": 97.7
  },
  "luminance": 0.715
}

Semantic roles & 50–950 ramp

primary
#F5DC63
secondary
#304BCC
accent
#28E501
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F5DC63

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

Preview Lab → · Contrast checker → · Palette generator →

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