#F5D864#F5D864

#F5D864 is a very light, vivid yellow. Relative luminance 0.694; OKLCH L 88.4% C 0.138 H 95.4°. Best body text is #000000 at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#F5D864
RGBrgb(245, 216, 100)
HSLhsl(48, 88%, 68%)
HSVhsv(48, 59%, 96%)
CMYKcmyk(0%, 11.8%, 59.2%, 3.9%)
CIE-LABlab(86.73, -3.36, 59.65)
CIE-LCHlch(86.73, 59.74, 93.23°)
OKLaboklab(88.45% -0.013 0.1378)
OKLCHoklch(88.45% 0.138 95.4)
XYZxyz(64.5150, 69.4474, 22.0606)
Luminance0.6944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D864 #6481F5
analogous
#F58F64 #F5D864 #C9F564
triadic
#F5D864 #64F5D8 #D864F5
tetradic
#F5D864 #64F58F #6481F5 #F564C9
square
#F5D864 #64F58F #6481F5 #F564C9
split-complementary
#F5D864 #64C9F5 #8F64F5
monochromatic
#D1AA0D #F1CA2B #F5D864 #F9E69D #FCF5D7

Accessibility & contrast

On white

1.41
#F5D864 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.89
#F5D864 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D864
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D864#FFFFFF#000000##000000
##F5D8641.001.4114.8914.89
#FFFFFF1.411.0021.0021.00
#00000014.8921.001.001.00
##00000014.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD458
Deuteranopia (green-blind)
#F3DD69
Tritanopia (blue-blind)
#FFC9BE
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f5d864;
/* rgb */ color: rgb(245, 216, 100);
/* oklch */ color: oklch(88.4% 0.138 95.4);
Tailwind
colors: {
  custom: {
    50: '#fce394',
    500: '#f5d864',
    950: '#000000',
  },
}
SCSS
$custom: #f5d864;
$custom-light: #fce394;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d864",
  "rgb": {
    "r": 245,
    "g": 216,
    "b": 100
  },
  "hsl": {
    "h": 48,
    "s": 87.879,
    "l": 67.647
  },
  "oklch": {
    "l": 0.88446,
    "c": 0.13842,
    "h": 95.4
  },
  "luminance": 0.69444
}

Semantic roles & 50–950 ramp

primary
#F5D864
secondary
#3150CC
accent
#2FE401
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F5D864

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

Preview Lab → · Contrast checker → · Palette generator →

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