#FFF166#FFF166

#FFF166 is a very light, vivid yellow. Relative luminance 0.851; OKLCH L 94.4% C 0.158 H 103.6°. Best body text is #000000 at 18.03:1 contrast (WCAG AA passes).

Color values

HEX#FFF166
RGBrgb(255, 241, 102)
HSLhsl(55, 100%, 70%)
HSVhsv(55, 60%, 100%)
CMYKcmyk(0%, 5.5%, 60%, 0%)
CIE-LABlab(93.94, -11.64, 67.01)
CIE-LCHlch(93.94, 68.02, 99.86°)
OKLaboklab(94.38% -0.0371 0.1535)
OKLCHoklch(94.38% 0.158 103.6)
XYZxyz(75.0963, 85.1327, 25.0443)
Luminance0.8513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF166 #6674FF
analogous
#FFA566 #FFF166 #C0FF66
triadic
#FFF166 #66FFF1 #F166FF
tetradic
#FFF166 #66FFA5 #6674FF #FF66C0
square
#FFF166 #66FFA5 #6674FF #FF66C0
split-complementary
#FFF166 #66C0FF #A566FF
monochromatic
#EBD500 #FFEB29 #FFF166 #FFF7A3 #FFFCE0

Accessibility & contrast

On white

1.16
#FFF166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.03
#FFF166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF166
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF166#FFFFFF#000000##000000
##FFF1661.001.1618.0318.03
#FFFFFF1.161.0021.0021.00
#00000018.0321.001.001.00
##00000018.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA56
Deuteranopia (green-blind)
#FFF16E
Tritanopia (blue-blind)
#FFE2D3
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fff166;
/* rgb */ color: rgb(255, 241, 102);
/* oklch */ color: oklch(94.4% 0.158 103.6);
Tailwind
colors: {
  custom: {
    50: '#fff597',
    500: '#fff166',
    950: '#000000',
  },
}
SCSS
$custom: #fff166;
$custom-light: #fff597;
$custom-dark: #000000;
JSON
{
  "hex": "#fff166",
  "rgb": {
    "r": 255,
    "g": 241,
    "b": 102
  },
  "hsl": {
    "h": 54.51,
    "s": 100,
    "l": 70
  },
  "oklch": {
    "l": 0.94375,
    "c": 0.15795,
    "h": 103.6
  },
  "luminance": 0.8513
}

Semantic roles & 50–950 ramp

primary
#FFF166
secondary
#2F3FDA
accent
#15E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#19170E
muted
#87857F

Preview Lab

Preview with #FFF166

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

Preview Lab → · Contrast checker → · Palette generator →

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