#F5D060#F5D060

#F5D060 is a very light, vivid yellow. Relative luminance 0.654; OKLCH L 86.8% C 0.136 H 91.0°. Best body text is #000000 at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#F5D060
RGBrgb(245, 208, 96)
HSLhsl(45, 88%, 67%)
HSVhsv(45, 61%, 96%)
CMYKcmyk(0%, 15.1%, 60.8%, 3.9%)
CIE-LABlab(84.68, 0.45, 59.14)
CIE-LCHlch(84.68, 59.14, 89.57°)
OKLaboklab(86.82% -0.0024 0.1362)
OKLCHoklch(86.82% 0.136 91)
XYZxyz(62.3263, 65.3721, 20.3993)
Luminance0.6537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D060 #6085F5
analogous
#F58660 #F5D060 #CFF560
triadic
#F5D060 #60F5D0 #D060F5
tetradic
#F5D060 #60F586 #6085F5 #F560CF
square
#F5D060 #60F586 #6085F5 #F560CF
split-complementary
#F5D060 #60CFF5 #8660F5
monochromatic
#CE9E0D #F1BF26 #F5D060 #F9E19A #FCF2D3

Accessibility & contrast

On white

1.49
#F5D060 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.07
#F5D060 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D060
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D060#FFFFFF#000000##000000
##F5D0601.001.4914.0714.07
#FFFFFF1.491.0021.0021.00
#00000014.0721.001.001.00
##00000014.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CD54
Deuteranopia (green-blind)
#EED865
Tritanopia (blue-blind)
#FFC1B7
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f5d060;
/* rgb */ color: rgb(245, 208, 96);
/* oklch */ color: oklch(86.8% 0.136 91.0);
Tailwind
colors: {
  custom: {
    50: '#fcde91',
    500: '#f5d060',
    950: '#000000',
  },
}
SCSS
$custom: #f5d060;
$custom-light: #fcde91;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d060",
  "rgb": {
    "r": 245,
    "g": 208,
    "b": 96
  },
  "hsl": {
    "h": 45.101,
    "s": 88.166,
    "l": 66.863
  },
  "oklch": {
    "l": 0.86815,
    "c": 0.13624,
    "h": 91
  },
  "luminance": 0.65369
}

Semantic roles & 50–950 ramp

primary
#F5D060
secondary
#3056C9
accent
#39E501
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F5D060

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

Preview Lab → · Contrast checker → · Palette generator →

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