#F5D964#F5D964

#F5D964 is a very light, vivid yellow. Relative luminance 0.700; OKLCH L 88.6% C 0.139 H 96.0°. Best body text is #000000 at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#F5D964
RGBrgb(245, 217, 100)
HSLhsl(48, 88%, 68%)
HSVhsv(48, 59%, 96%)
CMYKcmyk(0%, 11.4%, 59.2%, 3.9%)
CIE-LABlab(86.98, -3.87, 59.93)
CIE-LCHlch(86.98, 60.05, 93.69°)
OKLaboklab(88.65% -0.0144 0.1384)
OKLCHoklch(88.65% 0.139 96)
XYZxyz(64.7720, 69.9613, 22.1462)
Luminance0.6996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D964 #6480F5
analogous
#F59164 #F5D964 #C8F564
triadic
#F5D964 #64F5D9 #D964F5
tetradic
#F5D964 #64F591 #6480F5 #F564C8
square
#F5D964 #64F591 #6480F5 #F564C8
split-complementary
#F5D964 #64C8F5 #9164F5
monochromatic
#D1AB0D #F1CB2B #F5D964 #F9E79D #FCF5D7

Accessibility & contrast

On white

1.40
#F5D964 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.99
#F5D964 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D964
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D964#FFFFFF#000000##000000
##F5D9641.001.4014.9914.99
#FFFFFF1.401.0021.0021.00
#00000014.9921.001.001.00
##00000014.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD558
Deuteranopia (green-blind)
#F4DE69
Tritanopia (blue-blind)
#FFCABF
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f5d964;
/* rgb */ color: rgb(245, 217, 100);
/* oklch */ color: oklch(88.6% 0.139 96.0);
Tailwind
colors: {
  custom: {
    50: '#fbe494',
    500: '#f5d964',
    950: '#000000',
  },
}
SCSS
$custom: #f5d964;
$custom-light: #fbe494;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d964",
  "rgb": {
    "r": 245,
    "g": 217,
    "b": 100
  },
  "hsl": {
    "h": 48.414,
    "s": 87.879,
    "l": 67.647
  },
  "oklch": {
    "l": 0.88646,
    "c": 0.13917,
    "h": 96
  },
  "luminance": 0.69958
}

Semantic roles & 50–950 ramp

primary
#F5D964
secondary
#314FCC
accent
#2DE401
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F5D964

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

Preview Lab → · Contrast checker → · Palette generator →

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