#FCF259#FCF259

#FCF259 is a very light, vivid yellow. Relative luminance 0.849; OKLCH L 94.2% C 0.169 H 105.6°. Best body text is #000000 at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#FCF259
RGBrgb(252, 242, 89)
HSLhsl(56, 96%, 67%)
HSVhsv(56, 65%, 99%)
CMYKcmyk(0%, 4%, 64.7%, 1.2%)
CIE-LABlab(93.85, -14.13, 72.11)
CIE-LCHlch(93.85, 73.48, 101.09°)
OKLaboklab(94.21% -0.0453 0.1626)
OKLCHoklch(94.21% 0.169 105.6)
XYZxyz(73.7029, 84.9236, 21.9588)
Luminance0.8492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF259 #5963FC
analogous
#FCA159 #FCF259 #B5FC59
triadic
#FCF259 #59FCF2 #F259FC
tetradic
#FCF259 #59FCA1 #5963FC #FC59B5
square
#FCF259 #59FCA1 #5963FC #FC59B5
split-complementary
#FCF259 #59B5FC #A159FC
monochromatic
#D7CA04 #FBED1D #FCF259 #FDF795 #FEFBD1

Accessibility & contrast

On white

1.17
#FCF259 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.98
#FCF259 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF259
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF259#FFFFFF#000000##000000
##FCF2591.001.1717.9817.98
#FFFFFF1.171.0021.0021.00
#00000017.9821.001.001.00
##00000017.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA44
Deuteranopia (green-blind)
#FFF062
Tritanopia (blue-blind)
#FFE3D3
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fcf259;
/* rgb */ color: rgb(252, 242, 89);
/* oklch */ color: oklch(94.2% 0.169 105.6);
Tailwind
colors: {
  custom: {
    50: '#fff68f',
    500: '#fcf259',
    950: '#000000',
  },
}
SCSS
$custom: #fcf259;
$custom-light: #fff68f;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf259",
  "rgb": {
    "r": 252,
    "g": 242,
    "b": 89
  },
  "hsl": {
    "h": 56.319,
    "s": 96.45,
    "l": 66.863
  },
  "oklch": {
    "l": 0.94212,
    "c": 0.16878,
    "h": 105.6
  },
  "luminance": 0.84921
}

Semantic roles & 50–950 ramp

primary
#FCF259
secondary
#2833D1
accent
#0EE600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#19170D
muted
#87857F

Preview Lab

Preview with #FCF259

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

Preview Lab → · Contrast checker → · Palette generator →

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