#FFF06D#FFF06D

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

Color values

HEX#FFF06D
RGBrgb(255, 240, 109)
HSLhsl(54, 100%, 71%)
HSVhsv(54, 57%, 100%)
CMYKcmyk(0%, 5.9%, 57.3%, 0%)
CIE-LABlab(93.75, -10.68, 63.80)
CIE-LCHlch(93.75, 64.69, 99.50°)
OKLaboklab(94.24% -0.0336 0.1476)
OKLCHoklch(94.24% 0.151 102.8)
XYZxyz(75.1630, 84.6870, 26.8520)
Luminance0.8468 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF06D #6D7CFF
analogous
#FFA76D #FFF06D #C5FF6D
triadic
#FFF06D #6DFFF0 #F06DFF
tetradic
#FFF06D #6DFFA7 #6D7CFF #FF6DC5
square
#FFF06D #6DFFA7 #6D7CFF #FF6DC5
split-complementary
#FFF06D #6DC5FF #A76DFF
monochromatic
#F2D900 #FFEA30 #FFF06D #FFF6AA #FFFCE0

Accessibility & contrast

On white

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

On black

17.94
#FFF06D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF06D
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF06D#FFFFFF#000000##000000
##FFF06D1.001.1717.9417.94
#FFFFFF1.171.0021.0021.00
#00000017.9421.001.001.00
##00000017.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fff06d;
/* rgb */ color: rgb(255, 240, 109);
/* oklch */ color: oklch(94.2% 0.151 102.8);
Tailwind
colors: {
  custom: {
    50: '#fff49b',
    500: '#fff06d',
    950: '#000000',
  },
}
SCSS
$custom: #fff06d;
$custom-light: #fff49b;
$custom-dark: #000000;
JSON
{
  "hex": "#fff06d",
  "rgb": {
    "r": 255,
    "g": 240,
    "b": 109
  },
  "hsl": {
    "h": 53.836,
    "s": 100,
    "l": 71.373
  },
  "oklch": {
    "l": 0.94243,
    "c": 0.15133,
    "h": 102.8
  },
  "luminance": 0.84684
}

Semantic roles & 50–950 ramp

primary
#FFF06D
secondary
#3546DB
accent
#18E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FFF06D

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

Preview Lab → · Contrast checker → · Palette generator →

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