#F5D04E#F5D04E

#F5D04E is a very light, vivid yellow. Relative luminance 0.651; OKLCH L 86.6% C 0.150 H 92.9°. Best body text is #000000 at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#F5D04E
RGBrgb(245, 208, 78)
HSLhsl(47, 89%, 63%)
HSVhsv(47, 68%, 96%)
CMYKcmyk(0%, 15.1%, 68.2%, 3.9%)
CIE-LABlab(84.52, -0.62, 66.64)
CIE-LCHlch(84.52, 66.64, 90.53°)
OKLaboklab(86.65% -0.0076 0.1495)
OKLCHoklch(86.65% 0.15 92.9)
XYZxyz(61.5904, 65.0777, 16.5234)
Luminance0.6507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D04E #4E73F5
analogous
#F57C4E #F5D04E #C6F54E
triadic
#F5D04E #4EF5D0 #D04EF5
tetradic
#F5D04E #4EF57C #4E73F5 #F54EC6
square
#F5D04E #4EF57C #4E73F5 #F54EC6
split-complementary
#F5D04E #4EC6F5 #7C4EF5
monochromatic
#BE960B #F2C114 #F5D04E #F8DF88 #FCEFC2

Accessibility & contrast

On white

1.50
#F5D04E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.01
#F5D04E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D04E
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D04E#FFFFFF#000000##000000
##F5D04E1.001.5014.0114.01
#FFFFFF1.501.0021.0021.00
#00000014.0121.001.001.00
##00000014.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD3D
Deuteranopia (green-blind)
#EFD855
Tritanopia (blue-blind)
#FFC0B5
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f5d04e;
/* rgb */ color: rgb(245, 208, 78);
/* oklch */ color: oklch(86.6% 0.150 92.9);
Tailwind
colors: {
  custom: {
    50: '#fcde86',
    500: '#f5d04e',
    950: '#000000',
  },
}
SCSS
$custom: #f5d04e;
$custom-light: #fcde86;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d04e",
  "rgb": {
    "r": 245,
    "g": 208,
    "b": 78
  },
  "hsl": {
    "h": 46.707,
    "s": 89.305,
    "l": 63.333
  },
  "oklch": {
    "l": 0.86647,
    "c": 0.14967,
    "h": 92.9
  },
  "luminance": 0.65074
}

Semantic roles & 50–950 ramp

primary
#F5D04E
secondary
#2B4BBC
accent
#33E600
background
#FFFEFC
surface
#FFFCF3
border
#D7D5CD
text
#18150C
muted
#86847F

Preview Lab

Preview with #F5D04E

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

Preview Lab → · Contrast checker → · Palette generator →

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