#F5D059#F5D059

#F5D059 is a very light, vivid yellow. Relative luminance 0.652; OKLCH L 86.7% C 0.142 H 91.8°. Best body text is #000000 at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#F5D059
RGBrgb(245, 208, 89)
HSLhsl(46, 89%, 65%)
HSVhsv(46, 64%, 96%)
CMYKcmyk(0%, 15.1%, 63.7%, 3.9%)
CIE-LABlab(84.61, 0.00, 62.15)
CIE-LCHlch(84.61, 62.15, 90.00°)
OKLaboklab(86.75% -0.0046 0.1417)
OKLCHoklch(86.75% 0.142 91.8)
XYZxyz(62.0183, 65.2489, 18.7769)
Luminance0.6524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D059 #597EF5
analogous
#F58259 #F5D059 #CCF559
triadic
#F5D059 #59F5D0 #D059F5
tetradic
#F5D059 #59F582 #597EF5 #F559CC
square
#F5D059 #59F582 #597EF5 #F559CC
split-complementary
#F5D059 #59CCF5 #8259F5
monochromatic
#C89B0C #F2C01F #F5D059 #F8E093 #FCF1CC

Accessibility & contrast

On white

1.49
#F5D059 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.05
#F5D059 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D059
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D059#FFFFFF#000000##000000
##F5D0591.001.4914.0514.05
#FFFFFF1.491.0021.0021.00
#00000014.0521.001.001.00
##00000014.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD4B
Deuteranopia (green-blind)
#EED85E
Tritanopia (blue-blind)
#FFC1B7
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f5d059;
/* rgb */ color: rgb(245, 208, 89);
/* oklch */ color: oklch(86.7% 0.142 91.8);
Tailwind
colors: {
  custom: {
    50: '#fcde8d',
    500: '#f5d059',
    950: '#000000',
  },
}
SCSS
$custom: #f5d059;
$custom-light: #fcde8d;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d059",
  "rgb": {
    "r": 245,
    "g": 208,
    "b": 89
  },
  "hsl": {
    "h": 45.769,
    "s": 88.636,
    "l": 65.49
  },
  "oklch": {
    "l": 0.86745,
    "c": 0.14174,
    "h": 91.8
  },
  "luminance": 0.65245
}

Semantic roles & 50–950 ramp

primary
#F5D059
secondary
#2E52C4
accent
#37E500
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F5D059

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

Preview Lab → · Contrast checker → · Palette generator →

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