#FFFC6C#FFFC6C

#FFFC6C is a very light, vivid yellow. Relative luminance 0.920; 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#FFFC6C
RGBrgb(255, 252, 108)
HSLhsl(59, 100%, 71%)
HSVhsv(59, 58%, 100%)
CMYKcmyk(0%, 1.2%, 57.6%, 0%)
CIE-LABlab(96.81, -16.60, 67.63)
CIE-LCHlch(96.81, 69.64, 103.79°)
OKLaboklab(96.67% -0.0505 0.1556)
OKLCHoklch(96.67% 0.164 108)
XYZxyz(78.7596, 91.9658, 27.7868)
Luminance0.9196 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFC6C #6C6FFF
analogous
#FFB26C #FFFC6C #B8FF6C
triadic
#FFFC6C #6CFFFC #FC6CFF
tetradic
#FFFC6C #6CFFB2 #6C6FFF #FF6CB8
square
#FFFC6C #6CFFB2 #6C6FFF #FF6CB8
split-complementary
#FFFC6C #6CB8FF #B26CFF
monochromatic
#F1EC00 #FFFB2F #FFFC6C #FFFDA9 #FFFEE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFFC6C#FFFFFF#000000##000000
##FFFC6C1.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)
#FFF35C
Deuteranopia (green-blind)
#FFF874
Tritanopia (blue-blind)
#FFEDDD
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fffc6c;
/* rgb */ color: rgb(255, 252, 108);
/* oklch */ color: oklch(96.7% 0.164 108.0);
Tailwind
colors: {
  custom: {
    50: '#fffd9b',
    500: '#fffc6c',
    950: '#000000',
  },
}
SCSS
$custom: #fffc6c;
$custom-light: #fffd9b;
$custom-dark: #000000;
JSON
{
  "hex": "#fffc6c",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 108
  },
  "hsl": {
    "h": 58.776,
    "s": 100,
    "l": 71.176
  },
  "oklch": {
    "l": 0.96673,
    "c": 0.16362,
    "h": 108
  },
  "luminance": 0.91964
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFFC6C

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

Preview Lab → · Contrast checker → · Palette generator →

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