#F5D464#F5D464

#F5D464 is a very light, vivid yellow. Relative luminance 0.674; OKLCH L 87.6% C 0.136 H 93.0°. Best body text is #000000 at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#F5D464
RGBrgb(245, 212, 100)
HSLhsl(46, 88%, 68%)
HSVhsv(46, 59%, 96%)
CMYKcmyk(0%, 13.5%, 59.2%, 3.9%)
CIE-LABlab(85.72, -1.33, 58.51)
CIE-LCHlch(85.72, 58.52, 91.30°)
OKLaboklab(87.65% -0.0071 0.1354)
OKLCHoklch(87.65% 0.136 93)
XYZxyz(63.5027, 67.4227, 21.7231)
Luminance0.6742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D464 #6485F5
analogous
#F58C64 #F5D464 #CDF564
triadic
#F5D464 #64F5D4 #D464F5
tetradic
#F5D464 #64F58C #6485F5 #F564CD
square
#F5D464 #64F58C #6485F5 #F564CD
split-complementary
#F5D464 #64CDF5 #8C64F5
monochromatic
#D1A50D #F1C42B #F5D464 #F9E49D #FCF4D7

Accessibility & contrast

On white

1.45
#F5D464 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.48
#F5D464 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D464
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D464#FFFFFF#000000##000000
##F5D4641.001.4514.4814.48
#FFFFFF1.451.0021.0021.00
#00000014.4821.001.001.00
##00000014.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D159
Deuteranopia (green-blind)
#F0DA69
Tritanopia (blue-blind)
#FFC5BB
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f5d464;
/* rgb */ color: rgb(245, 212, 100);
/* oklch */ color: oklch(87.6% 0.136 93.0);
Tailwind
colors: {
  custom: {
    50: '#fce094',
    500: '#f5d464',
    950: '#000000',
  },
}
SCSS
$custom: #f5d464;
$custom-light: #fce094;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d464",
  "rgb": {
    "r": 245,
    "g": 212,
    "b": 100
  },
  "hsl": {
    "h": 46.345,
    "s": 87.879,
    "l": 67.647
  },
  "oklch": {
    "l": 0.8765,
    "c": 0.13556,
    "h": 93
  },
  "luminance": 0.6742
}

Semantic roles & 50–950 ramp

primary
#F5D464
secondary
#3154CC
accent
#35E401
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F5D464

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

Preview Lab → · Contrast checker → · Palette generator →

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