#F5DF60#F5DF60

#F5DF60 is a very light, vivid yellow. Relative luminance 0.730; OKLCH L 89.8% C 0.147 H 99.5°. Best body text is #000000 at 15.61:1 contrast (WCAG AA passes).

Color values

HEX#F5DF60
RGBrgb(245, 223, 96)
HSLhsl(51, 88%, 67%)
HSVhsv(51, 61%, 96%)
CMYKcmyk(0%, 9%, 60.8%, 3.9%)
CIE-LABlab(88.46, -7.16, 63.33)
CIE-LCHlch(88.46, 63.73, 96.45°)
OKLaboklab(89.81% -0.0243 0.1452)
OKLCHoklch(89.81% 0.147 99.5)
XYZxyz(66.1578, 73.0352, 21.6764)
Luminance0.7303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DF60 #6076F5
analogous
#F59560 #F5DF60 #C1F560
triadic
#F5DF60 #60F5DF #DF60F5
tetradic
#F5DF60 #60F595 #6076F5 #F560C1
square
#F5DF60 #60F595 #6076F5 #F560C1
split-complementary
#F5DF60 #60C1F5 #9560F5
monochromatic
#CEB10D #F1D326 #F5DF60 #F9EB9A #FCF6D3

Accessibility & contrast

On white

1.35
#F5DF60 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.61
#F5DF60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DF60
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DF60#FFFFFF#000000##000000
##F5DF601.001.3515.6115.61
#FFFFFF1.351.0021.0021.00
#00000015.6121.001.001.00
##00000015.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D952
Deuteranopia (green-blind)
#F9E266
Tritanopia (blue-blind)
#FFD0C4
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f5df60;
/* rgb */ color: rgb(245, 223, 96);
/* oklch */ color: oklch(89.8% 0.147 99.5);
Tailwind
colors: {
  custom: {
    50: '#fce892',
    500: '#f5df60',
    950: '#000000',
  },
}
SCSS
$custom: #f5df60;
$custom-light: #fce892;
$custom-dark: #000000;
JSON
{
  "hex": "#f5df60",
  "rgb": {
    "r": 245,
    "g": 223,
    "b": 96
  },
  "hsl": {
    "h": 51.141,
    "s": 88.166,
    "l": 66.863
  },
  "oklch": {
    "l": 0.89812,
    "c": 0.14718,
    "h": 99.5
  },
  "luminance": 0.73032
}

Semantic roles & 50–950 ramp

primary
#F5DF60
secondary
#3046C9
accent
#22E501
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F5DF60

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

Preview Lab → · Contrast checker → · Palette generator →

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