#FCD64F#FCD64F

#FCD64F is a very light, vivid yellow. Relative luminance 0.694; OKLCH L 88.5% C 0.154 H 93.0°. Best body text is #000000 at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#FCD64F
RGBrgb(252, 214, 79)
HSLhsl(47, 97%, 65%)
HSVhsv(47, 69%, 99%)
CMYKcmyk(0%, 15.1%, 68.7%, 1.2%)
CIE-LABlab(86.68, -0.71, 68.65)
CIE-LCHlch(86.68, 68.66, 90.59°)
OKLaboklab(88.5% -0.0082 0.1537)
OKLCHoklch(88.5% 0.154 93)
XYZxyz(65.6061, 69.3568, 17.3272)
Luminance0.6935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCD64F #4F75FC
analogous
#FC804F #FCD64F #CBFC4F
triadic
#FCD64F #4FFCD6 #D64FFC
tetradic
#FCD64F #4FFC80 #4F75FC #FC4FCB
square
#FCD64F #4FFC80 #4F75FC #FC4FCB
split-complementary
#FCD64F #4FCBFC #804FFC
monochromatic
#CDA103 #FBC813 #FCD64F #FDE48B #FEF2C7

Accessibility & contrast

On white

1.41
#FCD64F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.87
#FCD64F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCD64F
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCD64F#FFFFFF#000000##000000
##FCD64F1.001.4114.8714.87
#FFFFFF1.411.0021.0021.00
#00000014.8721.001.001.00
##00000014.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD33D
Deuteranopia (green-blind)
#F6DE56
Tritanopia (blue-blind)
#FFC5BA
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #fcd64f;
/* rgb */ color: rgb(252, 214, 79);
/* oklch */ color: oklch(88.5% 0.154 93.0);
Tailwind
colors: {
  custom: {
    50: '#ffe287',
    500: '#fcd64f',
    950: '#000000',
  },
}
SCSS
$custom: #fcd64f;
$custom-light: #ffe287;
$custom-dark: #000000;
JSON
{
  "hex": "#fcd64f",
  "rgb": {
    "r": 252,
    "g": 214,
    "b": 79
  },
  "hsl": {
    "h": 46.821,
    "s": 96.648,
    "l": 64.902
  },
  "oklch": {
    "l": 0.88503,
    "c": 0.1539,
    "h": 93
  },
  "luminance": 0.69353
}

Semantic roles & 50–950 ramp

primary
#FCD64F
secondary
#274AC9
accent
#32E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19150C
muted
#87847F

Preview Lab

Preview with #FCD64F

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

Preview Lab → · Contrast checker → · Palette generator →

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