#FCF268#FCF268

#FCF268 is a very light, vivid yellow. Relative luminance 0.852; OKLCH L 94.3% C 0.157 H 105.1°. Best body text is #000000 at 18.04:1 contrast (WCAG AA passes).

Color values

HEX#FCF268
RGBrgb(252, 242, 104)
HSLhsl(56, 96%, 70%)
HSVhsv(56, 59%, 99%)
CMYKcmyk(0%, 4%, 58.7%, 1.2%)
CIE-LABlab(93.97, -13.21, 66.13)
CIE-LCHlch(93.97, 67.44, 101.30°)
OKLaboklab(94.35% -0.0411 0.152)
OKLCHoklch(94.35% 0.157 105.1)
XYZxyz(74.3982, 85.2017, 25.6206)
Luminance0.8520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF268 #6872FC
analogous
#FCA868 #FCF268 #BCFC68
triadic
#FCF268 #68FCF2 #F268FC
tetradic
#FCF268 #68FCA8 #6872FC #FC68BC
square
#FCF268 #68FCA8 #6872FC #FC68BC
split-complementary
#FCF268 #68BCFC #A868FC
monochromatic
#E5D605 #FBED2C #FCF268 #FDF7A4 #FEFCE0

Accessibility & contrast

On white

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

On black

18.04
#FCF268 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF268
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF268#FFFFFF#000000##000000
##FCF2681.001.1618.0418.04
#FFFFFF1.161.0021.0021.00
#00000018.0421.001.001.00
##00000018.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA59
Deuteranopia (green-blind)
#FFF170
Tritanopia (blue-blind)
#FFE3D4
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fcf268;
/* rgb */ color: rgb(252, 242, 104);
/* oklch */ color: oklch(94.3% 0.157 105.1);
Tailwind
colors: {
  custom: {
    50: '#fff698',
    500: '#fcf268',
    950: '#000000',
  },
}
SCSS
$custom: #fcf268;
$custom-light: #fff698;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf268",
  "rgb": {
    "r": 252,
    "g": 242,
    "b": 104
  },
  "hsl": {
    "h": 55.946,
    "s": 96.104,
    "l": 69.804
  },
  "oklch": {
    "l": 0.94346,
    "c": 0.15746,
    "h": 105.1
  },
  "luminance": 0.85199
}

Semantic roles & 50–950 ramp

primary
#FCF268
secondary
#313DD7
accent
#10E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FCF268

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

Preview Lab → · Contrast checker → · Palette generator →

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