#FCF265#FCF265

#FCF265 is a very light, vivid yellow. Relative luminance 0.851; OKLCH L 94.3% C 0.160 H 105.2°. Best body text is #000000 at 18.03:1 contrast (WCAG AA passes).

Color values

HEX#FCF265
RGBrgb(252, 242, 101)
HSLhsl(56, 96%, 69%)
HSVhsv(56, 60%, 99%)
CMYKcmyk(0%, 4%, 59.9%, 1.2%)
CIE-LABlab(93.94, -13.41, 67.37)
CIE-LCHlch(93.94, 68.69, 101.26°)
OKLaboklab(94.32% -0.042 0.1542)
OKLCHoklch(94.32% 0.16 105.2)
XYZxyz(74.2485, 85.1418, 24.8323)
Luminance0.8514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF265 #656FFC
analogous
#FCA665 #FCF265 #BBFC65
triadic
#FCF265 #65FCF2 #F265FC
tetradic
#FCF265 #65FCA6 #656FFC #FC65BB
square
#FCF265 #65FCA6 #656FFC #FC65BB
split-complementary
#FCF265 #65BBFC #A665FC
monochromatic
#E2D404 #FBED29 #FCF265 #FDF7A1 #FEFCDD

Accessibility & contrast

On white

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

On black

18.03
#FCF265 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF265
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF265#FFFFFF#000000##000000
##FCF2651.001.1618.0318.03
#FFFFFF1.161.0021.0021.00
#00000018.0321.001.001.00
##00000018.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fcf265;
/* rgb */ color: rgb(252, 242, 101);
/* oklch */ color: oklch(94.3% 0.160 105.2);
Tailwind
colors: {
  custom: {
    50: '#fff696',
    500: '#fcf265',
    950: '#000000',
  },
}
SCSS
$custom: #fcf265;
$custom-light: #fff696;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf265",
  "rgb": {
    "r": 252,
    "g": 242,
    "b": 101
  },
  "hsl": {
    "h": 56.026,
    "s": 96.178,
    "l": 69.216
  },
  "oklch": {
    "l": 0.94317,
    "c": 0.15985,
    "h": 105.2
  },
  "luminance": 0.85139
}

Semantic roles & 50–950 ramp

primary
#FCF265
secondary
#2F3AD6
accent
#0FE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FCF265

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

Preview Lab → · Contrast checker → · Palette generator →

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