#FCF5AA#FCF5AA

#FCF5AA is a very light, moderate yellow. Relative luminance 0.889; OKLCH L 95.9% C 0.095 H 103.5°. Best body text is #000000 at 18.78:1 contrast (WCAG AA passes).

Color values

HEX#FCF5AA
RGBrgb(252, 245, 170)
HSLhsl(55, 93%, 83%)
HSVhsv(55, 33%, 99%)
CMYKcmyk(0%, 2.8%, 32.5%, 1.2%)
CIE-LABlab(95.54, -8.59, 37.02)
CIE-LCHlch(95.54, 38.01, 103.06°)
OKLaboklab(95.86% -0.0221 0.092)
OKLCHoklch(95.86% 0.095 103.5)
XYZxyz(80.0538, 88.9043, 50.9656)
Luminance0.8890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF5AA #AAB1FC
analogous
#FCCCAA #FCF5AA #DAFCAA
triadic
#FCF5AA #AAFCF5 #F5AAFC
tetradic
#FCF5AA #AAFCCC #AAB1FC #FCAADA
square
#FCF5AA #AAFCCC #AAB1FC #FCAADA
split-complementary
#FCF5AA #AADAFC #CCAAFC
monochromatic
#F8E734 #FAEE6F #FCF5AA #FEFCE1 #FEFCE1

Accessibility & contrast

On white

1.12
#FCF5AA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.78
#FCF5AA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF5AA
18.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF5AA#FFFFFF#000000##000000
##FCF5AA1.001.1218.7818.78
#FFFFFF1.121.0021.0021.00
#00000018.7821.001.001.00
##00000018.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF0A5
Deuteranopia (green-blind)
#FFF4AD
Tritanopia (blue-blind)
#FFEBE2
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fcf5aa;
/* rgb */ color: rgb(252, 245, 170);
/* oklch */ color: oklch(95.9% 0.095 103.5);
Tailwind
colors: {
  custom: {
    50: '#fef8c4',
    500: '#fcf5aa',
    950: '#000000',
  },
}
SCSS
$custom: #fcf5aa;
$custom-light: #fef8c4;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf5aa",
  "rgb": {
    "r": 252,
    "g": 245,
    "b": 170
  },
  "hsl": {
    "h": 54.878,
    "s": 93.182,
    "l": 82.745
  },
  "oklch": {
    "l": 0.95855,
    "c": 0.09457,
    "h": 103.5
  },
  "luminance": 0.88903
}

Semantic roles & 50–950 ramp

primary
#FCF5AA
secondary
#6A74E0
accent
#14E600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181712
muted
#868582

Preview Lab

Preview with #FCF5AA

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

Preview Lab → · Contrast checker → · Palette generator →

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