#F5CF59#F5CF59

#F5CF59 is a very light, vivid yellow. Relative luminance 0.648; OKLCH L 86.5% C 0.141 H 91.3°. Best body text is #000000 at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#F5CF59
RGBrgb(245, 207, 89)
HSLhsl(45, 89%, 65%)
HSVhsv(45, 64%, 96%)
CMYKcmyk(0%, 15.5%, 63.7%, 3.9%)
CIE-LABlab(84.36, 0.52, 61.87)
CIE-LCHlch(84.36, 61.88, 89.52°)
OKLaboklab(86.55% -0.0031 0.1411)
OKLCHoklch(86.55% 0.141 91.3)
XYZxyz(61.7752, 64.7628, 18.6959)
Luminance0.6476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5CF59 #597FF5
analogous
#F58159 #F5CF59 #CDF559
triadic
#F5CF59 #59F5CF #CF59F5
tetradic
#F5CF59 #59F581 #597FF5 #F559CD
square
#F5CF59 #59F581 #597FF5 #F559CD
split-complementary
#F5CF59 #59CDF5 #8159F5
monochromatic
#C89A0C #F2BE1F #F5CF59 #F8E093 #FCF0CC

Accessibility & contrast

On white

1.51
#F5CF59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.95
#F5CF59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5CF59
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5CF59#FFFFFF#000000##000000
##F5CF591.001.5113.9513.95
#FFFFFF1.511.0021.0021.00
#00000013.9521.001.001.00
##00000013.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC4C
Deuteranopia (green-blind)
#EDD75E
Tritanopia (blue-blind)
#FFBFB6
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #f5cf59;
/* rgb */ color: rgb(245, 207, 89);
/* oklch */ color: oklch(86.5% 0.141 91.3);
Tailwind
colors: {
  custom: {
    50: '#fcdd8d',
    500: '#f5cf59',
    950: '#000000',
  },
}
SCSS
$custom: #f5cf59;
$custom-light: #fcdd8d;
$custom-dark: #000000;
JSON
{
  "hex": "#f5cf59",
  "rgb": {
    "r": 245,
    "g": 207,
    "b": 89
  },
  "hsl": {
    "h": 45.385,
    "s": 88.636,
    "l": 65.49
  },
  "oklch": {
    "l": 0.86547,
    "c": 0.14112,
    "h": 91.3
  },
  "luminance": 0.64759
}

Semantic roles & 50–950 ramp

primary
#F5CF59
secondary
#2E53C4
accent
#38E500
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F5CF59

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

Preview Lab → · Contrast checker → · Palette generator →

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