#FCF46B#FCF46B

#FCF46B is a very light, vivid yellow. Relative luminance 0.865; OKLCH L 94.8% C 0.157 H 105.9°. Best body text is #000000 at 18.29:1 contrast (WCAG AA passes).

Color values

HEX#FCF46B
RGBrgb(252, 244, 107)
HSLhsl(57, 96%, 70%)
HSVhsv(57, 58%, 99%)
CMYKcmyk(0%, 3.2%, 57.5%, 1.2%)
CIE-LABlab(94.51, -13.98, 65.45)
CIE-LCHlch(94.51, 66.92, 102.06°)
OKLaboklab(94.78% -0.043 0.1509)
OKLCHoklch(94.78% 0.157 105.9)
XYZxyz(75.1518, 86.4608, 26.6369)
Luminance0.8646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF46B #6B73FC
analogous
#FCAC6B #FCF46B #BBFC6B
triadic
#FCF46B #6BFCF4 #F46BFC
tetradic
#FCF46B #6BFCAC #6B73FC #FC6BBB
square
#FCF46B #6BFCAC #6B73FC #FC6BBB
split-complementary
#FCF46B #6BBBFC #AC6BFC
monochromatic
#E8DB05 #FBF02F #FCF46B #FDF8A7 #FEFDE1

Accessibility & contrast

On white

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

On black

18.29
#FCF46B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF46B
18.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF46B#FFFFFF#000000##000000
##FCF46B1.001.1518.2918.29
#FFFFFF1.151.0021.0021.00
#00000018.2921.001.001.00
##00000018.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC5C
Deuteranopia (green-blind)
#FFF272
Tritanopia (blue-blind)
#FFE6D6
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fcf46b;
/* rgb */ color: rgb(252, 244, 107);
/* oklch */ color: oklch(94.8% 0.157 105.9);
Tailwind
colors: {
  custom: {
    50: '#fff79a',
    500: '#fcf46b',
    950: '#000000',
  },
}
SCSS
$custom: #fcf46b;
$custom-light: #fff79a;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf46b",
  "rgb": {
    "r": 252,
    "g": 244,
    "b": 107
  },
  "hsl": {
    "h": 56.69,
    "s": 96.026,
    "l": 70.392
  },
  "oklch": {
    "l": 0.94784,
    "c": 0.15692,
    "h": 105.9
  },
  "luminance": 0.86458
}

Semantic roles & 50–950 ramp

primary
#FCF46B
secondary
#343DD7
accent
#0DE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FCF46B

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

Preview Lab → · Contrast checker → · Palette generator →

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