#F5DE60#F5DE60

#F5DE60 is a very light, vivid yellow. Relative luminance 0.725; OKLCH L 89.6% C 0.146 H 99.0°. Best body text is #000000 at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#F5DE60
RGBrgb(245, 222, 96)
HSLhsl(51, 88%, 67%)
HSVhsv(51, 61%, 96%)
CMYKcmyk(0%, 9.4%, 60.8%, 3.9%)
CIE-LABlab(88.21, -6.66, 63.05)
CIE-LCHlch(88.21, 63.40, 96.03°)
OKLaboklab(89.61% -0.0229 0.1446)
OKLCHoklch(89.61% 0.146 99)
XYZxyz(65.8915, 72.5024, 21.5877)
Luminance0.7250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DE60 #6077F5
analogous
#F59460 #F5DE60 #C2F560
triadic
#F5DE60 #60F5DE #DE60F5
tetradic
#F5DE60 #60F594 #6077F5 #F560C2
square
#F5DE60 #60F594 #6077F5 #F560C2
split-complementary
#F5DE60 #60C2F5 #9460F5
monochromatic
#CEB00D #F1D226 #F5DE60 #F9EA9A #FCF6D3

Accessibility & contrast

On white

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

On black

15.50
#F5DE60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DE60
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DE60#FFFFFF#000000##000000
##F5DE601.001.3515.5015.50
#FFFFFF1.351.0021.0021.00
#00000015.5021.001.001.00
##00000015.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D952
Deuteranopia (green-blind)
#F8E166
Tritanopia (blue-blind)
#FFCFC3
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f5de60;
/* rgb */ color: rgb(245, 222, 96);
/* oklch */ color: oklch(89.6% 0.146 99.0);
Tailwind
colors: {
  custom: {
    50: '#fce892',
    500: '#f5de60',
    950: '#000000',
  },
}
SCSS
$custom: #f5de60;
$custom-light: #fce892;
$custom-dark: #000000;
JSON
{
  "hex": "#f5de60",
  "rgb": {
    "r": 245,
    "g": 222,
    "b": 96
  },
  "hsl": {
    "h": 50.738,
    "s": 88.166,
    "l": 66.863
  },
  "oklch": {
    "l": 0.8961,
    "c": 0.14636,
    "h": 99
  },
  "luminance": 0.725
}

Semantic roles & 50–950 ramp

primary
#F5DE60
secondary
#3047C9
accent
#24E501
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F5DE60

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

Preview Lab → · Contrast checker → · Palette generator →

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