#F5DF53#F5DF53

#F5DF53 is a very light, vivid yellow. Relative luminance 0.728; OKLCH L 89.7% C 0.157 H 100.3°. Best body text is #000000 at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#F5DF53
RGBrgb(245, 223, 83)
HSLhsl(52, 89%, 64%)
HSVhsv(52, 66%, 96%)
CMYKcmyk(0%, 9%, 66.1%, 3.9%)
CIE-LABlab(88.36, -7.94, 68.60)
CIE-LCHlch(88.36, 69.06, 96.60°)
OKLaboklab(89.7% -0.028 0.1544)
OKLCHoklch(89.7% 0.157 100.3)
XYZxyz(65.6080, 72.8153, 18.7809)
Luminance0.7281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DF53 #5369F5
analogous
#F58E53 #F5DF53 #BAF553
triadic
#F5DF53 #53F5DF #DF53F5
tetradic
#F5DF53 #53F58E #5369F5 #F553BA
square
#F5DF53 #53F58E #5369F5 #F553BA
split-complementary
#F5DF53 #53BAF5 #8E53F5
monochromatic
#C2A90B #F2D419 #F5DF53 #F8EA8D #FCF5C7

Accessibility & contrast

On white

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

On black

15.56
#F5DF53 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DF53
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DF53#FFFFFF#000000##000000
##F5DF531.001.3515.5615.56
#FFFFFF1.351.0021.0021.00
#00000015.5621.001.001.00
##00000015.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D940
Deuteranopia (green-blind)
#F9E15B
Tritanopia (blue-blind)
#FFD0C2
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f5df53;
/* rgb */ color: rgb(245, 223, 83);
/* oklch */ color: oklch(89.7% 0.157 100.3);
Tailwind
colors: {
  custom: {
    50: '#fce88a',
    500: '#f5df53',
    950: '#000000',
  },
}
SCSS
$custom: #f5df53;
$custom-light: #fce88a;
$custom-dark: #000000;
JSON
{
  "hex": "#f5df53",
  "rgb": {
    "r": 245,
    "g": 223,
    "b": 83
  },
  "hsl": {
    "h": 51.852,
    "s": 89.011,
    "l": 64.314
  },
  "oklch": {
    "l": 0.89695,
    "c": 0.15696,
    "h": 100.3
  },
  "luminance": 0.72812
}

Semantic roles & 50–950 ramp

primary
#F5DF53
secondary
#2D41C0
accent
#1FE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160C
muted
#86847F

Preview Lab

Preview with #F5DF53

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

Preview Lab → · Contrast checker → · Palette generator →

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