#FCF698#FCF698

#FCF698 is a very light, moderate yellow. Relative luminance 0.889; OKLCH L 95.8% C 0.116 H 105.2°. Best body text is #000000 at 18.77:1 contrast (WCAG AA passes).

Color values

HEX#FCF698
RGBrgb(252, 246, 152)
HSLhsl(56, 94%, 79%)
HSVhsv(56, 40%, 99%)
CMYKcmyk(0%, 2.4%, 39.7%, 1.2%)
CIE-LABlab(95.53, -11.07, 45.89)
CIE-LCHlch(95.53, 47.21, 103.57°)
OKLaboklab(95.76% -0.0304 0.1117)
OKLCHoklch(95.76% 0.116 105.2)
XYZxyz(78.7695, 88.8759, 42.7050)
Luminance0.8887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF698 #989EFC
analogous
#FCC498 #FCF698 #D0FC98
triadic
#FCF698 #98FCF6 #F698FC
tetradic
#FCF698 #98FCC4 #989EFC #FC98D0
square
#FCF698 #98FCC4 #989EFC #FC98D0
split-complementary
#FCF698 #98D0FC #C498FC
monochromatic
#F9EC21 #FAF15D #FCF698 #FEFBD3 #FEFCE1

Accessibility & contrast

On white

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

On black

18.77
#FCF698 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF698
18.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF698#FFFFFF#000000##000000
##FCF6981.001.1218.7718.77
#FFFFFF1.121.0021.0021.00
#00000018.7721.001.001.00
##00000018.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF91
Deuteranopia (green-blind)
#FFF49C
Tritanopia (blue-blind)
#FFEBDF
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fcf698;
/* rgb */ color: rgb(252, 246, 152);
/* oklch */ color: oklch(95.8% 0.116 105.2);
Tailwind
colors: {
  custom: {
    50: '#fff9b7',
    500: '#fcf698',
    950: '#000000',
  },
}
SCSS
$custom: #fcf698;
$custom-light: #fff9b7;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf698",
  "rgb": {
    "r": 252,
    "g": 246,
    "b": 152
  },
  "hsl": {
    "h": 56.4,
    "s": 94.34,
    "l": 79.216
  },
  "oklch": {
    "l": 0.95759,
    "c": 0.11576,
    "h": 105.2
  },
  "luminance": 0.88874
}

Semantic roles & 50–950 ramp

primary
#FCF698
secondary
#5B63DD
accent
#0EE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FCF698

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

Preview Lab → · Contrast checker → · Palette generator →

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