#FCD85F#FCD85F

#FCD85F is a very light, vivid yellow. Relative luminance 0.706; OKLCH L 89.0% C 0.144 H 92.7°. Best body text is #000000 at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#FCD85F
RGBrgb(252, 216, 95)
HSLhsl(46, 96%, 68%)
HSVhsv(46, 62%, 99%)
CMYKcmyk(0%, 14.3%, 62.3%, 1.2%)
CIE-LABlab(87.31, -0.82, 62.67)
CIE-LCHlch(87.31, 62.68, 90.75°)
OKLaboklab(89.04% -0.0066 0.1435)
OKLCHoklch(89.04% 0.144 92.7)
XYZxyz(66.7694, 70.6369, 20.9416)
Luminance0.7063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCD85F #5F83FC
analogous
#FC895F #FCD85F #D1FC5F
triadic
#FCD85F #5FFCD8 #D85FFC
tetradic
#FCD85F #5FFC89 #5F83FC #FC5FD1
square
#FCD85F #5FFC89 #5F83FC #FC5FD1
split-complementary
#FCD85F #5FD1FC #895FFC
monochromatic
#DCAB04 #FBC923 #FCD85F #FDE79B #FEF5D7

Accessibility & contrast

On white

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

On black

15.13
#FCD85F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCD85F
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCD85F#FFFFFF#000000##000000
##FCD85F1.001.3915.1315.13
#FFFFFF1.391.0021.0021.00
#00000015.1321.001.001.00
##00000015.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD552
Deuteranopia (green-blind)
#F6DF65
Tritanopia (blue-blind)
#FFC8BE
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #fcd85f;
/* rgb */ color: rgb(252, 216, 95);
/* oklch */ color: oklch(89.0% 0.144 92.7);
Tailwind
colors: {
  custom: {
    50: '#ffe391',
    500: '#fcd85f',
    950: '#000000',
  },
}
SCSS
$custom: #fcd85f;
$custom-light: #ffe391;
$custom-dark: #000000;
JSON
{
  "hex": "#fcd85f",
  "rgb": {
    "r": 252,
    "g": 216,
    "b": 95
  },
  "hsl": {
    "h": 46.242,
    "s": 96.319,
    "l": 68.039
  },
  "oklch": {
    "l": 0.8904,
    "c": 0.1436,
    "h": 92.7
  },
  "luminance": 0.70633
}

Semantic roles & 50–950 ramp

primary
#FCD85F
secondary
#2A51D5
accent
#35E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19150D
muted
#87847F

Preview Lab

Preview with #FCD85F

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

Preview Lab → · Contrast checker → · Palette generator →

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