#FCF059#FCF059

#FCF059 is a very light, vivid yellow. Relative luminance 0.837; OKLCH L 93.8% C 0.167 H 104.8°. Best body text is #000000 at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#FCF059
RGBrgb(252, 240, 89)
HSLhsl(56, 96%, 67%)
HSVhsv(56, 65%, 99%)
CMYKcmyk(0%, 4.8%, 64.7%, 1.2%)
CIE-LABlab(93.34, -13.16, 71.58)
CIE-LCHlch(93.34, 72.78, 100.41°)
OKLaboklab(93.8% -0.0426 0.1615)
OKLCHoklch(93.8% 0.167 104.8)
XYZxyz(73.1109, 83.7396, 21.7615)
Luminance0.8374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF059 #5965FC
analogous
#FC9F59 #FCF059 #B7FC59
triadic
#FCF059 #59FCF0 #F059FC
tetradic
#FCF059 #59FC9F #5965FC #FC59B7
square
#FCF059 #59FC9F #5965FC #FC59B7
split-complementary
#FCF059 #59B7FC #9F59FC
monochromatic
#D7C704 #FBEB1D #FCF059 #FDF595 #FEFBD1

Accessibility & contrast

On white

1.18
#FCF059 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.75
#FCF059 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF059
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF059#FFFFFF#000000##000000
##FCF0591.001.1817.7517.75
#FFFFFF1.181.0021.0021.00
#00000017.7521.001.001.00
##00000017.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE845
Deuteranopia (green-blind)
#FFEF62
Tritanopia (blue-blind)
#FFE1D1
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #fcf059;
/* rgb */ color: rgb(252, 240, 89);
/* oklch */ color: oklch(93.8% 0.167 104.8);
Tailwind
colors: {
  custom: {
    50: '#fff48f',
    500: '#fcf059',
    950: '#000000',
  },
}
SCSS
$custom: #fcf059;
$custom-light: #fff48f;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf059",
  "rgb": {
    "r": 252,
    "g": 240,
    "b": 89
  },
  "hsl": {
    "h": 55.583,
    "s": 96.45,
    "l": 66.863
  },
  "oklch": {
    "l": 0.93804,
    "c": 0.16697,
    "h": 104.8
  },
  "luminance": 0.83737
}

Semantic roles & 50–950 ramp

primary
#FCF059
secondary
#2835D1
accent
#11E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#19170D
muted
#87857F

Preview Lab

Preview with #FCF059

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

Preview Lab → · Contrast checker → · Palette generator →

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