#FFFC6B#FFFC6B

#FFFC6B is a very light, vivid yellow. Relative luminance 0.919; OKLCH L 96.7% C 0.164 H 108.0°. Best body text is #000000 at 19.39:1 contrast (WCAG AA passes).

Color values

HEX#FFFC6B
RGBrgb(255, 252, 107)
HSLhsl(59, 100%, 71%)
HSVhsv(59, 58%, 100%)
CMYKcmyk(0%, 1.2%, 58%, 0%)
CIE-LABlab(96.80, -16.67, 68.04)
CIE-LCHlch(96.80, 70.06, 103.77°)
OKLaboklab(96.66% -0.0508 0.1564)
OKLCHoklch(96.66% 0.164 108)
XYZxyz(78.7066, 91.9446, 27.5081)
Luminance0.9194 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFC6B #6B6EFF
analogous
#FFB26B #FFFC6B #B8FF6B
triadic
#FFFC6B #6BFFFC #FC6BFF
tetradic
#FFFC6B #6BFFB2 #6B6EFF #FF6BB8
square
#FFFC6B #6BFFB2 #6B6EFF #FF6BB8
split-complementary
#FFFC6B #6BB8FF #B26BFF
monochromatic
#F0EB00 #FFFB2E #FFFC6B #FFFDA8 #FFFEE0

Accessibility & contrast

On white

1.08
#FFFC6B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.39
#FFFC6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFC6B
19.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFC6B#FFFFFF#000000##000000
##FFFC6B1.001.0819.3919.39
#FFFFFF1.081.0021.0021.00
#00000019.3921.001.001.00
##00000019.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF35B
Deuteranopia (green-blind)
#FFF873
Tritanopia (blue-blind)
#FFEDDD
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fffc6b;
/* rgb */ color: rgb(255, 252, 107);
/* oklch */ color: oklch(96.7% 0.164 108.0);
Tailwind
colors: {
  custom: {
    50: '#fffd9a',
    500: '#fffc6b',
    950: '#000000',
  },
}
SCSS
$custom: #fffc6b;
$custom-light: #fffd9a;
$custom-dark: #000000;
JSON
{
  "hex": "#fffc6b",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 107
  },
  "hsl": {
    "h": 58.784,
    "s": 100,
    "l": 70.98
  },
  "oklch": {
    "l": 0.96663,
    "c": 0.16442,
    "h": 108
  },
  "luminance": 0.91942
}

Semantic roles & 50–950 ramp

primary
#FFFC6B
secondary
#3337DB
accent
#05E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FFFC6B

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

Preview Lab → · Contrast checker → · Palette generator →

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