#F5D460#F5D460

#F5D460 is a very light, vivid yellow. Relative luminance 0.673; OKLCH L 87.6% C 0.139 H 93.4°. Best body text is #000000 at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#F5D460
RGBrgb(245, 212, 96)
HSLhsl(47, 88%, 67%)
HSVhsv(47, 61%, 96%)
CMYKcmyk(0%, 13.5%, 60.8%, 3.9%)
CIE-LABlab(85.68, -1.60, 60.26)
CIE-LCHlch(85.68, 60.28, 91.52°)
OKLaboklab(87.61% -0.0083 0.1386)
OKLCHoklch(87.61% 0.139 93.4)
XYZxyz(63.3138, 67.3472, 20.7284)
Luminance0.6734 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D460 #6081F5
analogous
#F58960 #F5D460 #CCF560
triadic
#F5D460 #60F5D4 #D460F5
tetradic
#F5D460 #60F589 #6081F5 #F560CC
square
#F5D460 #60F589 #6081F5 #F560CC
split-complementary
#F5D460 #60CCF5 #8960F5
monochromatic
#CEA30D #F1C426 #F5D460 #F9E49A #FCF3D3

Accessibility & contrast

On white

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

On black

14.47
#F5D460 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D460
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D460#FFFFFF#000000##000000
##F5D4601.001.4514.4714.47
#FFFFFF1.451.0021.0021.00
#00000014.4721.001.001.00
##00000014.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5d460;
/* rgb */ color: rgb(245, 212, 96);
/* oklch */ color: oklch(87.6% 0.139 93.4);
Tailwind
colors: {
  custom: {
    50: '#fce091',
    500: '#f5d460',
    950: '#000000',
  },
}
SCSS
$custom: #f5d460;
$custom-light: #fce091;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d460",
  "rgb": {
    "r": 245,
    "g": 212,
    "b": 96
  },
  "hsl": {
    "h": 46.711,
    "s": 88.166,
    "l": 66.863
  },
  "oklch": {
    "l": 0.87607,
    "c": 0.13886,
    "h": 93.4
  },
  "luminance": 0.67344
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F5D460

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

Preview Lab → · Contrast checker → · Palette generator →

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