#FCF29B#FCF29B

#FCF29B is a very light, moderate yellow. Relative luminance 0.866; OKLCH L 95.0% C 0.108 H 102.6°. Best body text is #000000 at 18.31:1 contrast (WCAG AA passes).

Color values

HEX#FCF29B
RGBrgb(252, 242, 155)
HSLhsl(54, 94%, 80%)
HSVhsv(54, 38%, 99%)
CMYKcmyk(0%, 4%, 38.5%, 1.2%)
CIE-LABlab(94.55, -8.78, 43.18)
CIE-LCHlch(94.55, 44.07, 101.50°)
OKLaboklab(95% -0.0236 0.1057)
OKLCHoklch(95% 0.108 102.6)
XYZxyz(77.8147, 86.5683, 43.6143)
Luminance0.8657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF29B #9BA5FC
analogous
#FCC19B #FCF29B #D6FC9B
triadic
#FCF29B #9BFCF2 #F29BFC
tetradic
#FCF29B #9BFCC1 #9BA5FC #FC9BD6
square
#FCF29B #9BFCC1 #9BA5FC #FC9BD6
split-complementary
#FCF29B #9BD6FC #C19BFC
monochromatic
#F8E324 #FAEA60 #FCF29B #FEFAD6 #FEFBE1

Accessibility & contrast

On white

1.15
#FCF29B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.31
#FCF29B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF29B
18.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF29B#FFFFFF#000000##000000
##FCF29B1.001.1518.3118.31
#FFFFFF1.151.0021.0021.00
#00000018.3121.001.001.00
##00000018.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC94
Deuteranopia (green-blind)
#FFF29E
Tritanopia (blue-blind)
#FFE7DC
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fcf29b;
/* rgb */ color: rgb(252, 242, 155);
/* oklch */ color: oklch(95.0% 0.108 102.6);
Tailwind
colors: {
  custom: {
    50: '#fff6b9',
    500: '#fcf29b',
    950: '#000000',
  },
}
SCSS
$custom: #fcf29b;
$custom-light: #fff6b9;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf29b",
  "rgb": {
    "r": 252,
    "g": 242,
    "b": 155
  },
  "hsl": {
    "h": 53.814,
    "s": 94.175,
    "l": 79.804
  },
  "oklch": {
    "l": 0.95,
    "c": 0.10827,
    "h": 102.6
  },
  "luminance": 0.86566
}

Semantic roles & 50–950 ramp

primary
#FCF29B
secondary
#5D6BDE
accent
#18E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FCF29B

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

Preview Lab → · Contrast checker → · Palette generator →

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