#FCF26F#FCF26F

#FCF26F is a very light, vivid yellow. Relative luminance 0.853; OKLCH L 94.4% C 0.152 H 104.9°. Best body text is #000000 at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#FCF26F
RGBrgb(252, 242, 111)
HSLhsl(56, 96%, 71%)
HSVhsv(56, 56%, 99%)
CMYKcmyk(0%, 4%, 56%, 1.2%)
CIE-LABlab(94.03, -12.72, 63.18)
CIE-LCHlch(94.03, 64.45, 101.38°)
OKLaboklab(94.42% -0.039 0.1465)
OKLCHoklch(94.42% 0.152 104.9)
XYZxyz(74.7686, 85.3499, 27.5715)
Luminance0.8535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF26F #6F79FC
analogous
#FCAB6F #FCF26F #BFFC6F
triadic
#FCF26F #6FFCF2 #F26FFC
tetradic
#FCF26F #6FFCAB #6F79FC #FC6FBF
square
#FCF26F #6FFCAB #6F79FC #FC6FBF
split-complementary
#FCF26F #6FBFFC #AB6FFC
monochromatic
#ECDB05 #FBED33 #FCF26F #FDF7AB #FEFCE1

Accessibility & contrast

On white

1.16
#FCF26F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.07
#FCF26F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF26F
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF26F#FFFFFF#000000##000000
##FCF26F1.001.1618.0718.07
#FFFFFF1.161.0021.0021.00
#00000018.0721.001.001.00
##00000018.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA61
Deuteranopia (green-blind)
#FFF176
Tritanopia (blue-blind)
#FFE4D5
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fcf26f;
/* rgb */ color: rgb(252, 242, 111);
/* oklch */ color: oklch(94.4% 0.152 104.9);
Tailwind
colors: {
  custom: {
    50: '#fff69c',
    500: '#fcf26f',
    950: '#000000',
  },
}
SCSS
$custom: #fcf26f;
$custom-light: #fff69c;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf26f",
  "rgb": {
    "r": 252,
    "g": 242,
    "b": 111
  },
  "hsl": {
    "h": 55.745,
    "s": 95.918,
    "l": 71.176
  },
  "oklch": {
    "l": 0.94417,
    "c": 0.15163,
    "h": 104.9
  },
  "luminance": 0.85347
}

Semantic roles & 50–950 ramp

primary
#FCF26F
secondary
#3743D8
accent
#10E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FCF26F

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

Preview Lab → · Contrast checker → · Palette generator →

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