#FCD768#FCD768

#FCD768 is a very light, vivid yellow. Relative luminance 0.703; OKLCH L 88.9% C 0.136 H 91.0°. Best body text is #000000 at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#FCD768
RGBrgb(252, 215, 104)
HSLhsl(45, 96%, 70%)
HSVhsv(45, 59%, 99%)
CMYKcmyk(0%, 14.7%, 58.7%, 1.2%)
CIE-LABlab(87.14, 0.29, 58.49)
CIE-LCHlch(87.14, 58.49, 89.72°)
OKLaboklab(88.94% -0.0024 0.1357)
OKLCHoklch(88.94% 0.136 91)
XYZxyz(66.9470, 70.2993, 23.1369)
Luminance0.7030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCD768 #688DFC
analogous
#FC8D68 #FCD768 #D7FC68
triadic
#FCD768 #68FCD7 #D768FC
tetradic
#FCD768 #68FC8D #688DFC #FC68D7
square
#FCD768 #68FC8D #688DFC #FC68D7
split-complementary
#FCD768 #68D7FC #8D68FC
monochromatic
#E5AD05 #FBC72C #FCD768 #FDE7A4 #FEF7E0

Accessibility & contrast

On white

1.39
#FCD768 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.06
#FCD768 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCD768
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCD768#FFFFFF#000000##000000
##FCD7681.001.3915.0615.06
#FFFFFF1.391.0021.0021.00
#00000015.0621.001.001.00
##00000015.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD45D
Deuteranopia (green-blind)
#F5DF6D
Tritanopia (blue-blind)
#FFC8BE
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #fcd768;
/* rgb */ color: rgb(252, 215, 104);
/* oklch */ color: oklch(88.9% 0.136 91.0);
Tailwind
colors: {
  custom: {
    50: '#ffe396',
    500: '#fcd768',
    950: '#000000',
  },
}
SCSS
$custom: #fcd768;
$custom-light: #ffe396;
$custom-dark: #000000;
JSON
{
  "hex": "#fcd768",
  "rgb": {
    "r": 252,
    "g": 215,
    "b": 104
  },
  "hsl": {
    "h": 45,
    "s": 96.104,
    "l": 69.804
  },
  "oklch": {
    "l": 0.88937,
    "c": 0.13567,
    "h": 91
  },
  "luminance": 0.70296
}

Semantic roles & 50–950 ramp

primary
#FCD768
secondary
#315BD7
accent
#39E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #FCD768

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

Preview Lab → · Contrast checker → · Palette generator →

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