#F5DB60#F5DB60

#F5DB60 is a very light, vivid yellow. Relative luminance 0.709; OKLCH L 89.0% C 0.144 H 97.4°. Best body text is #000000 at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#F5DB60
RGBrgb(245, 219, 96)
HSLhsl(50, 88%, 67%)
HSVhsv(50, 61%, 96%)
CMYKcmyk(0%, 10.6%, 60.8%, 3.9%)
CIE-LABlab(87.45, -5.15, 62.21)
CIE-LCHlch(87.45, 62.43, 94.73°)
OKLaboklab(89.01% -0.0186 0.1428)
OKLCHoklch(89.01% 0.144 97.4)
XYZxyz(65.1018, 70.9230, 21.3244)
Luminance0.7092 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DB60 #607AF5
analogous
#F59160 #F5DB60 #C5F560
triadic
#F5DB60 #60F5DB #DB60F5
tetradic
#F5DB60 #60F591 #607AF5 #F560C5
square
#F5DB60 #60F591 #607AF5 #F560C5
split-complementary
#F5DB60 #60C5F5 #9160F5
monochromatic
#CEAC0D #F1CE26 #F5DB60 #F9E89A #FCF5D3

Accessibility & contrast

On white

1.38
#F5DB60 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.18
#F5DB60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DB60
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DB60#FFFFFF#000000##000000
##F5DB601.001.3815.1815.18
#FFFFFF1.381.0021.0021.00
#00000015.1821.001.001.00
##00000015.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD652
Deuteranopia (green-blind)
#F6DF66
Tritanopia (blue-blind)
#FFCCC0
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f5db60;
/* rgb */ color: rgb(245, 219, 96);
/* oklch */ color: oklch(89.0% 0.144 97.4);
Tailwind
colors: {
  custom: {
    50: '#fce592',
    500: '#f5db60',
    950: '#000000',
  },
}
SCSS
$custom: #f5db60;
$custom-light: #fce592;
$custom-dark: #000000;
JSON
{
  "hex": "#f5db60",
  "rgb": {
    "r": 245,
    "g": 219,
    "b": 96
  },
  "hsl": {
    "h": 49.53,
    "s": 88.166,
    "l": 66.863
  },
  "oklch": {
    "l": 0.89006,
    "c": 0.14398,
    "h": 97.4
  },
  "luminance": 0.7092
}

Semantic roles & 50–950 ramp

primary
#F5DB60
secondary
#304BC9
accent
#29E501
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F5DB60

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

Preview Lab → · Contrast checker → · Palette generator →

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