#FCF159#FCF159

#FCF159 is a very light, vivid yellow. Relative luminance 0.843; OKLCH L 94.0% C 0.168 H 105.2°. Best body text is #000000 at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#FCF159
RGBrgb(252, 241, 89)
HSLhsl(56, 96%, 67%)
HSVhsv(56, 65%, 99%)
CMYKcmyk(0%, 4.4%, 64.7%, 1.2%)
CIE-LABlab(93.59, -13.64, 71.84)
CIE-LCHlch(93.59, 73.13, 100.75°)
OKLaboklab(94.01% -0.044 0.162)
OKLCHoklch(94.01% 0.168 105.2)
XYZxyz(73.4061, 84.3300, 21.8599)
Luminance0.8433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF159 #5964FC
analogous
#FCA059 #FCF159 #B6FC59
triadic
#FCF159 #59FCF1 #F159FC
tetradic
#FCF159 #59FCA0 #5964FC #FC59B6
square
#FCF159 #59FCA0 #5964FC #FC59B6
split-complementary
#FCF159 #59B6FC #A059FC
monochromatic
#D7C804 #FBEC1D #FCF159 #FDF695 #FEFBD1

Accessibility & contrast

On white

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

On black

17.87
#FCF159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF159
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF159#FFFFFF#000000##000000
##FCF1591.001.1817.8717.87
#FFFFFF1.181.0021.0021.00
#00000017.8721.001.001.00
##00000017.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fcf159;
/* rgb */ color: rgb(252, 241, 89);
/* oklch */ color: oklch(94.0% 0.168 105.2);
Tailwind
colors: {
  custom: {
    50: '#fff58f',
    500: '#fcf159',
    950: '#000000',
  },
}
SCSS
$custom: #fcf159;
$custom-light: #fff58f;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf159",
  "rgb": {
    "r": 252,
    "g": 241,
    "b": 89
  },
  "hsl": {
    "h": 55.951,
    "s": 96.45,
    "l": 66.863
  },
  "oklch": {
    "l": 0.94008,
    "c": 0.16788,
    "h": 105.2
  },
  "luminance": 0.84327
}

Semantic roles & 50–950 ramp

primary
#FCF159
secondary
#2834D1
accent
#0FE600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#19170D
muted
#87857F

Preview Lab

Preview with #FCF159

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

Preview Lab → · Contrast checker → · Palette generator →

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