#FFE166#FFE166

#FFE166 is a very light, vivid yellow. Relative luminance 0.761; OKLCH L 91.2% C 0.145 H 95.7°. Best body text is #000000 at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#FFE166
RGBrgb(255, 225, 102)
HSLhsl(48, 100%, 70%)
HSVhsv(48, 60%, 100%)
CMYKcmyk(0%, 11.8%, 60%, 0%)
CIE-LABlab(89.89, -3.69, 62.55)
CIE-LCHlch(89.89, 62.66, 93.37°)
OKLaboklab(91.17% -0.0143 0.144)
OKLCHoklch(91.17% 0.145 95.7)
XYZxyz(70.5665, 76.0731, 23.5344)
Luminance0.7607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE166 #6684FF
analogous
#FF9466 #FFE166 #D1FF66
triadic
#FFE166 #66FFE1 #E166FF
tetradic
#FFE166 #66FF94 #6684FF #FF66D1
square
#FFE166 #66FF94 #6684FF #FF66D1
split-complementary
#FFE166 #66D1FF #9466FF
monochromatic
#EBBD00 #FFD529 #FFE166 #FFEDA3 #FFF9E0

Accessibility & contrast

On white

1.30
#FFE166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.21
#FFE166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE166
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE166#FFFFFF#000000##000000
##FFE1661.001.3016.2116.21
#FFFFFF1.301.0021.0021.00
#00000016.2121.001.001.00
##00000016.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DD59
Deuteranopia (green-blind)
#FDE66C
Tritanopia (blue-blind)
#FFD2C6
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #ffe166;
/* rgb */ color: rgb(255, 225, 102);
/* oklch */ color: oklch(91.2% 0.145 95.7);
Tailwind
colors: {
  custom: {
    50: '#ffea96',
    500: '#ffe166',
    950: '#000000',
  },
}
SCSS
$custom: #ffe166;
$custom-light: #ffea96;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe166",
  "rgb": {
    "r": 255,
    "g": 225,
    "b": 102
  },
  "hsl": {
    "h": 48.235,
    "s": 100,
    "l": 70
  },
  "oklch": {
    "l": 0.91166,
    "c": 0.14474,
    "h": 95.7
  },
  "luminance": 0.7607
}

Semantic roles & 50–950 ramp

primary
#FFE166
secondary
#2F51DA
accent
#2DE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#19160E
muted
#87847F

Preview Lab

Preview with #FFE166

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

Preview Lab → · Contrast checker → · Palette generator →

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