#FFFC6F#FFFC6F

#FFFC6F is a very light, vivid yellow. Relative luminance 0.920; OKLCH L 96.7% C 0.161 H 107.9°. Best body text is #000000 at 19.41:1 contrast (WCAG AA passes).

Color values

HEX#FFFC6F
RGBrgb(255, 252, 111)
HSLhsl(59, 100%, 72%)
HSVhsv(59, 56%, 100%)
CMYKcmyk(0%, 1.2%, 56.5%, 0%)
CIE-LABlab(96.83, -16.39, 66.39)
CIE-LCHlch(96.83, 68.39, 103.87°)
OKLaboklab(96.7% -0.0496 0.1533)
OKLCHoklch(96.7% 0.161 107.9)
XYZxyz(78.9220, 92.0307, 28.6422)
Luminance0.9203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFC6F #6F72FF
analogous
#FFB46F #FFFC6F #BAFF6F
triadic
#FFFC6F #6FFFFC #FC6FFF
tetradic
#FFFC6F #6FFFB4 #6F72FF #FF6FBA
square
#FFFC6F #6FFFB4 #6F72FF #FF6FBA
split-complementary
#FFFC6F #6FBAFF #B46FFF
monochromatic
#F4EF00 #FFFB32 #FFFC6F #FFFDAC #FFFEE0

Accessibility & contrast

On white

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

On black

19.41
#FFFC6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFC6F
19.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFC6F#FFFFFF#000000##000000
##FFFC6F1.001.0819.4119.41
#FFFFFF1.081.0021.0021.00
#00000019.4121.001.001.00
##00000019.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF360
Deuteranopia (green-blind)
#FFF877
Tritanopia (blue-blind)
#FFEEDD
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fffc6f;
/* rgb */ color: rgb(255, 252, 111);
/* oklch */ color: oklch(96.7% 0.161 107.9);
Tailwind
colors: {
  custom: {
    50: '#fffd9d',
    500: '#fffc6f',
    950: '#000000',
  },
}
SCSS
$custom: #fffc6f;
$custom-light: #fffd9d;
$custom-dark: #000000;
JSON
{
  "hex": "#fffc6f",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 111
  },
  "hsl": {
    "h": 58.75,
    "s": 100,
    "l": 71.765
  },
  "oklch": {
    "l": 0.96703,
    "c": 0.16116,
    "h": 107.9
  },
  "luminance": 0.92029
}

Semantic roles & 50–950 ramp

primary
#FFFC6F
secondary
#373ADC
accent
#05E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FFFC6F

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

Preview Lab → · Contrast checker → · Palette generator →

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