#FFF366#FFF366

#FFF366 is a very light, vivid yellow. Relative luminance 0.863; OKLCH L 94.8% C 0.160 H 104.4°. Best body text is #000000 at 18.26:1 contrast (WCAG AA passes).

Color values

HEX#FFF366
RGBrgb(255, 243, 102)
HSLhsl(55, 100%, 70%)
HSVhsv(55, 60%, 100%)
CMYKcmyk(0%, 4.7%, 60%, 0%)
CIE-LABlab(94.45, -12.63, 67.57)
CIE-LCHlch(94.45, 68.74, 100.58°)
OKLaboklab(94.78% -0.0399 0.1547)
OKLCHoklch(94.78% 0.16 104.4)
XYZxyz(75.6915, 86.3232, 25.2427)
Luminance0.8632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF366 #6672FF
analogous
#FFA666 #FFF366 #BFFF66
triadic
#FFF366 #66FFF3 #F366FF
tetradic
#FFF366 #66FFA6 #6672FF #FF66BF
square
#FFF366 #66FFA6 #6672FF #FF66BF
split-complementary
#FFF366 #66BFFF #A666FF
monochromatic
#EBD800 #FFEE29 #FFF366 #FFF8A3 #FFFDE0

Accessibility & contrast

On white

1.15
#FFF366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.26
#FFF366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF366
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF366#FFFFFF#000000##000000
##FFF3661.001.1518.2618.26
#FFFFFF1.151.0021.0021.00
#00000018.2621.001.001.00
##00000018.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB56
Deuteranopia (green-blind)
#FFF26E
Tritanopia (blue-blind)
#FFE4D5
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fff366;
/* rgb */ color: rgb(255, 243, 102);
/* oklch */ color: oklch(94.8% 0.160 104.4);
Tailwind
colors: {
  custom: {
    50: '#fff697',
    500: '#fff366',
    950: '#000000',
  },
}
SCSS
$custom: #fff366;
$custom-light: #fff697;
$custom-dark: #000000;
JSON
{
  "hex": "#fff366",
  "rgb": {
    "r": 255,
    "g": 243,
    "b": 102
  },
  "hsl": {
    "h": 55.294,
    "s": 100,
    "l": 70
  },
  "oklch": {
    "l": 0.94781,
    "c": 0.15977,
    "h": 104.4
  },
  "luminance": 0.8632
}

Semantic roles & 50–950 ramp

primary
#FFF366
secondary
#2F3CDA
accent
#12E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#19170E
muted
#87857F

Preview Lab

Preview with #FFF366

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

Preview Lab → · Contrast checker → · Palette generator →

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