#FCF598#FCF598

#FCF598 is a very light, moderate yellow. Relative luminance 0.883; OKLCH L 95.6% C 0.115 H 104.6°. Best body text is #000000 at 18.65:1 contrast (WCAG AA passes).

Color values

HEX#FCF598
RGBrgb(252, 245, 152)
HSLhsl(56, 94%, 79%)
HSVhsv(56, 40%, 99%)
CMYKcmyk(0%, 2.8%, 39.7%, 1.2%)
CIE-LABlab(95.27, -10.58, 45.57)
CIE-LCHlch(95.27, 46.78, 103.07°)
OKLaboklab(95.56% -0.029 0.111)
OKLCHoklch(95.56% 0.115 104.6)
XYZxyz(78.4661, 88.2692, 42.6039)
Luminance0.8827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF598 #989FFC
analogous
#FCC398 #FCF598 #D1FC98
triadic
#FCF598 #98FCF5 #F598FC
tetradic
#FCF598 #98FCC3 #989FFC #FC98D1
square
#FCF598 #98FCC3 #989FFC #FC98D1
split-complementary
#FCF598 #98D1FC #C398FC
monochromatic
#F9E921 #FAEF5D #FCF598 #FEFBD3 #FEFCE1

Accessibility & contrast

On white

1.13
#FCF598 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.65
#FCF598 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF598
18.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF598#FFFFFF#000000##000000
##FCF5981.001.1318.6518.65
#FFFFFF1.131.0021.0021.00
#00000018.6521.001.001.00
##00000018.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fcf598;
/* rgb */ color: rgb(252, 245, 152);
/* oklch */ color: oklch(95.6% 0.115 104.6);
Tailwind
colors: {
  custom: {
    50: '#fff8b7',
    500: '#fcf598',
    950: '#000000',
  },
}
SCSS
$custom: #fcf598;
$custom-light: #fff8b7;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf598",
  "rgb": {
    "r": 252,
    "g": 245,
    "b": 152
  },
  "hsl": {
    "h": 55.8,
    "s": 94.34,
    "l": 79.216
  },
  "oklch": {
    "l": 0.95557,
    "c": 0.1147,
    "h": 104.6
  },
  "luminance": 0.88267
}

Semantic roles & 50–950 ramp

primary
#FCF598
secondary
#5B64DD
accent
#10E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FCF598

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

Preview Lab → · Contrast checker → · Palette generator →

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