#F5D260#F5D260

#F5D260 is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 87.2% C 0.138 H 92.3°. Best body text is #000000 at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#F5D260
RGBrgb(245, 210, 96)
HSLhsl(46, 88%, 67%)
HSVhsv(46, 61%, 96%)
CMYKcmyk(0%, 14.3%, 60.8%, 3.9%)
CIE-LABlab(85.18, -0.58, 59.70)
CIE-LCHlch(85.18, 59.70, 90.55°)
OKLaboklab(87.21% -0.0054 0.1374)
OKLCHoklch(87.21% 0.138 92.3)
XYZxyz(62.8170, 66.3535, 20.5628)
Luminance0.6635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D260 #6083F5
analogous
#F58860 #F5D260 #CEF560
triadic
#F5D260 #60F5D2 #D260F5
tetradic
#F5D260 #60F588 #6083F5 #F560CE
square
#F5D260 #60F588 #6083F5 #F560CE
split-complementary
#F5D260 #60CEF5 #8860F5
monochromatic
#CEA00D #F1C226 #F5D260 #F9E29A #FCF3D3

Accessibility & contrast

On white

1.47
#F5D260 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.27
#F5D260 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D260
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D260#FFFFFF#000000##000000
##F5D2601.001.4714.2714.27
#FFFFFF1.471.0021.0021.00
#00000014.2721.001.001.00
##00000014.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CF54
Deuteranopia (green-blind)
#EFD965
Tritanopia (blue-blind)
#FFC3B9
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f5d260;
/* rgb */ color: rgb(245, 210, 96);
/* oklch */ color: oklch(87.2% 0.138 92.3);
Tailwind
colors: {
  custom: {
    50: '#fcdf91',
    500: '#f5d260',
    950: '#000000',
  },
}
SCSS
$custom: #f5d260;
$custom-light: #fcdf91;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d260",
  "rgb": {
    "r": 245,
    "g": 210,
    "b": 96
  },
  "hsl": {
    "h": 45.906,
    "s": 88.166,
    "l": 66.863
  },
  "oklch": {
    "l": 0.8721,
    "c": 0.13752,
    "h": 92.3
  },
  "luminance": 0.6635
}

Semantic roles & 50–950 ramp

primary
#F5D260
secondary
#3054C9
accent
#36E501
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F5D260

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

Preview Lab → · Contrast checker → · Palette generator →

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