#FCF66B#FCF66B

#FCF66B is a very light, vivid yellow. Relative luminance 0.877; OKLCH L 95.2% C 0.159 H 106.8°. Best body text is #000000 at 18.53:1 contrast (WCAG AA passes).

Color values

HEX#FCF66B
RGBrgb(252, 246, 107)
HSLhsl(58, 96%, 70%)
HSVhsv(58, 58%, 99%)
CMYKcmyk(0%, 2.4%, 57.5%, 1.2%)
CIE-LABlab(95.02, -14.96, 66.02)
CIE-LCHlch(95.02, 67.69, 102.77°)
OKLaboklab(95.19% -0.0458 0.1521)
OKLCHoklch(95.19% 0.159 106.8)
XYZxyz(75.7569, 87.6708, 26.8386)
Luminance0.8767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF66B #6B71FC
analogous
#FCAD6B #FCF66B #BAFC6B
triadic
#FCF66B #6BFCF6 #F66BFC
tetradic
#FCF66B #6BFCAD #6B71FC #FC6BBA
square
#FCF66B #6BFCAD #6B71FC #FC6BBA
split-complementary
#FCF66B #6BBAFC #AD6BFC
monochromatic
#E8DE05 #FBF22F #FCF66B #FDFAA7 #FEFDE1

Accessibility & contrast

On white

1.13
#FCF66B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.53
#FCF66B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF66B
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF66B#FFFFFF#000000##000000
##FCF66B1.001.1318.5318.53
#FFFFFF1.131.0021.0021.00
#00000018.5321.001.001.00
##00000018.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED5C
Deuteranopia (green-blind)
#FFF373
Tritanopia (blue-blind)
#FFE8D8
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fcf66b;
/* rgb */ color: rgb(252, 246, 107);
/* oklch */ color: oklch(95.2% 0.159 106.8);
Tailwind
colors: {
  custom: {
    50: '#fff89a',
    500: '#fcf66b',
    950: '#000000',
  },
}
SCSS
$custom: #fcf66b;
$custom-light: #fff89a;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf66b",
  "rgb": {
    "r": 252,
    "g": 246,
    "b": 107
  },
  "hsl": {
    "h": 57.517,
    "s": 96.026,
    "l": 70.392
  },
  "oklch": {
    "l": 0.95192,
    "c": 0.15886,
    "h": 106.8
  },
  "luminance": 0.87669
}

Semantic roles & 50–950 ramp

primary
#FCF66B
secondary
#343BD7
accent
#09E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FCF66B

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

Preview Lab → · Contrast checker → · Palette generator →

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