#FFF06C#FFF06C

#FFF06C is a very light, vivid yellow. Relative luminance 0.847; OKLCH L 94.2% C 0.152 H 102.9°. Best body text is #000000 at 17.93:1 contrast (WCAG AA passes).

Color values

HEX#FFF06C
RGBrgb(255, 240, 108)
HSLhsl(54, 100%, 71%)
HSVhsv(54, 58%, 100%)
CMYKcmyk(0%, 5.9%, 57.6%, 0%)
CIE-LABlab(93.74, -10.75, 64.22)
CIE-LCHlch(93.74, 65.12, 99.50°)
OKLaboklab(94.23% -0.0339 0.1484)
OKLCHoklch(94.23% 0.152 102.9)
XYZxyz(75.1095, 84.6656, 26.5701)
Luminance0.8466 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF06C #6C7BFF
analogous
#FFA66C #FFF06C #C4FF6C
triadic
#FFF06C #6CFFF0 #F06CFF
tetradic
#FFF06C #6CFFA6 #6C7BFF #FF6CC4
square
#FFF06C #6CFFA6 #6C7BFF #FF6CC4
split-complementary
#FFF06C #6CC4FF #A66CFF
monochromatic
#F1D800 #FFEA2F #FFF06C #FFF6A9 #FFFCE0

Accessibility & contrast

On white

1.17
#FFF06C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.93
#FFF06C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF06C
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF06C#FFFFFF#000000##000000
##FFF06C1.001.1717.9317.93
#FFFFFF1.171.0021.0021.00
#00000017.9321.001.001.00
##00000017.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE95E
Deuteranopia (green-blind)
#FFF073
Tritanopia (blue-blind)
#FFE1D3
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fff06c;
/* rgb */ color: rgb(255, 240, 108);
/* oklch */ color: oklch(94.2% 0.152 102.9);
Tailwind
colors: {
  custom: {
    50: '#fff49a',
    500: '#fff06c',
    950: '#000000',
  },
}
SCSS
$custom: #fff06c;
$custom-light: #fff49a;
$custom-dark: #000000;
JSON
{
  "hex": "#fff06c",
  "rgb": {
    "r": 255,
    "g": 240,
    "b": 108
  },
  "hsl": {
    "h": 53.878,
    "s": 100,
    "l": 71.176
  },
  "oklch": {
    "l": 0.94233,
    "c": 0.15217,
    "h": 102.9
  },
  "luminance": 0.84663
}

Semantic roles & 50–950 ramp

primary
#FFF06C
secondary
#3445DB
accent
#17E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FFF06C

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

Preview Lab → · Contrast checker → · Palette generator →

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