#FCF06B#FCF06B

#FCF06B is a very light, vivid yellow. Relative luminance 0.841; OKLCH L 94.0% C 0.153 H 104.1°. Best body text is #000000 at 17.82:1 contrast (WCAG AA passes).

Color values

HEX#FCF06B
RGBrgb(252, 240, 107)
HSLhsl(55, 96%, 70%)
HSVhsv(55, 58%, 99%)
CMYKcmyk(0%, 4.8%, 57.5%, 1.2%)
CIE-LABlab(93.49, -12.02, 64.31)
CIE-LCHlch(93.49, 65.42, 100.59°)
OKLaboklab(93.97% -0.0374 0.1485)
OKLCHoklch(93.97% 0.153 104.1)
XYZxyz(73.9613, 84.0797, 26.2401)
Luminance0.8408 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF06B #6B77FC
analogous
#FCA76B #FCF06B #C0FC6B
triadic
#FCF06B #6BFCF0 #F06BFC
tetradic
#FCF06B #6BFCA7 #6B77FC #FC6BC0
square
#FCF06B #6BFCA7 #6B77FC #FC6BC0
split-complementary
#FCF06B #6BC0FC #A76BFC
monochromatic
#E8D505 #FBEA2F #FCF06B #FDF6A7 #FEFCE1

Accessibility & contrast

On white

1.18
#FCF06B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.82
#FCF06B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF06B
17.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF06B#FFFFFF#000000##000000
##FCF06B1.001.1817.8217.82
#FFFFFF1.181.0021.0021.00
#00000017.8221.001.001.00
##00000017.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE95D
Deuteranopia (green-blind)
#FFEF72
Tritanopia (blue-blind)
#FFE1D3
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #fcf06b;
/* rgb */ color: rgb(252, 240, 107);
/* oklch */ color: oklch(94.0% 0.153 104.1);
Tailwind
colors: {
  custom: {
    50: '#fff49a',
    500: '#fcf06b',
    950: '#000000',
  },
}
SCSS
$custom: #fcf06b;
$custom-light: #fff49a;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf06b",
  "rgb": {
    "r": 252,
    "g": 240,
    "b": 107
  },
  "hsl": {
    "h": 55.034,
    "s": 96.026,
    "l": 70.392
  },
  "oklch": {
    "l": 0.93969,
    "c": 0.15312,
    "h": 104.1
  },
  "luminance": 0.84077
}

Semantic roles & 50–950 ramp

primary
#FCF06B
secondary
#3442D7
accent
#13E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FCF06B

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

Preview Lab → · Contrast checker → · Palette generator →

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