#FCF98B#FCF98B

#FCF98B is a very light, vivid yellow. Relative luminance 0.903; OKLCH L 96.2% C 0.133 H 107.3°. Best body text is #000000 at 19.06:1 contrast (WCAG AA passes).

Color values

HEX#FCF98B
RGBrgb(252, 249, 139)
HSLhsl(58, 95%, 77%)
HSVhsv(58, 45%, 99%)
CMYKcmyk(0%, 1.2%, 44.8%, 1.2%)
CIE-LABlab(96.13, -13.82, 52.87)
CIE-LCHlch(96.13, 54.65, 104.65°)
OKLaboklab(96.18% -0.0394 0.1266)
OKLCHoklch(96.18% 0.133 107.3)
XYZxyz(78.6824, 90.3128, 37.7084)
Luminance0.9031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF98B #8B8EFC
analogous
#FCC18B #FCF98B #C7FC8B
triadic
#FCF98B #8BFCF9 #F98BFC
tetradic
#FCF98B #8BFCC1 #8B8EFC #FC8BC7
square
#FCF98B #8BFCC1 #8B8EFC #FC8BC7
split-complementary
#FCF98B #8BC7FC #C18BFC
monochromatic
#F9F314 #FAF64F #FCF98B #FEFCC7 #FEFDE1

Accessibility & contrast

On white

1.10
#FCF98B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.06
#FCF98B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF98B
19.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF98B#FFFFFF#000000##000000
##FCF98B1.001.1019.0619.06
#FFFFFF1.101.0021.0021.00
#00000019.0621.001.001.00
##00000019.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF182
Deuteranopia (green-blind)
#FFF690
Tritanopia (blue-blind)
#FFEDDF
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fcf98b;
/* rgb */ color: rgb(252, 249, 139);
/* oklch */ color: oklch(96.2% 0.133 107.3);
Tailwind
colors: {
  custom: {
    50: '#fffbaf',
    500: '#fcf98b',
    950: '#000000',
  },
}
SCSS
$custom: #fcf98b;
$custom-light: #fffbaf;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf98b",
  "rgb": {
    "r": 252,
    "g": 249,
    "b": 139
  },
  "hsl": {
    "h": 58.407,
    "s": 94.958,
    "l": 76.667
  },
  "oklch": {
    "l": 0.96179,
    "c": 0.13257,
    "h": 107.3
  },
  "luminance": 0.90311
}

Semantic roles & 50–950 ramp

primary
#FCF98B
secondary
#5053DC
accent
#06E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FCF98B

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

Preview Lab → · Contrast checker → · Palette generator →

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