#F5D04F#F5D04F

#F5D04F is a very light, vivid yellow. Relative luminance 0.651; OKLCH L 86.7% C 0.149 H 92.8°. Best body text is #000000 at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#F5D04F
RGBrgb(245, 208, 79)
HSLhsl(47, 89%, 64%)
HSVhsv(47, 68%, 96%)
CMYKcmyk(0%, 15.1%, 67.8%, 3.9%)
CIE-LABlab(84.53, -0.56, 66.24)
CIE-LCHlch(84.53, 66.25, 90.49°)
OKLaboklab(86.66% -0.0074 0.1488)
OKLCHoklch(86.66% 0.149 92.8)
XYZxyz(61.6265, 65.0922, 16.7137)
Luminance0.6509 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D04F #4F74F5
analogous
#F57D4F #F5D04F #C7F54F
triadic
#F5D04F #4FF5D0 #D04FF5
tetradic
#F5D04F #4FF57D #4F74F5 #F54FC7
square
#F5D04F #4FF57D #4F74F5 #F54FC7
split-complementary
#F5D04F #4FC7F5 #7D4FF5
monochromatic
#BF970B #F2C115 #F5D04F #F8DF89 #FCEFC3

Accessibility & contrast

On white

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

On black

14.02
#F5D04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D04F
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D04F#FFFFFF#000000##000000
##F5D04F1.001.5014.0214.02
#FFFFFF1.501.0021.0021.00
#00000014.0221.001.001.00
##00000014.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5d04f;
/* rgb */ color: rgb(245, 208, 79);
/* oklch */ color: oklch(86.7% 0.149 92.8);
Tailwind
colors: {
  custom: {
    50: '#fcde87',
    500: '#f5d04f',
    950: '#000000',
  },
}
SCSS
$custom: #f5d04f;
$custom-light: #fcde87;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d04f",
  "rgb": {
    "r": 245,
    "g": 208,
    "b": 79
  },
  "hsl": {
    "h": 46.627,
    "s": 89.247,
    "l": 63.529
  },
  "oklch": {
    "l": 0.86655,
    "c": 0.14899,
    "h": 92.8
  },
  "luminance": 0.65089
}

Semantic roles & 50–950 ramp

primary
#F5D04F
secondary
#2C4CBD
accent
#33E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F5D04F

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

Preview Lab → · Contrast checker → · Palette generator →

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