#FFD166#FFD166

#FFD166 is a very light, vivid orange. Relative luminance 0.678; OKLCH L 88.0% C 0.135 H 86.1°. Best body text is #000000 at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#FFD166
RGBrgb(255, 209, 102)
HSLhsl(42, 100%, 70%)
HSVhsv(42, 60%, 100%)
CMYKcmyk(0%, 18%, 60%, 0%)
CIE-LABlab(85.92, 4.45, 58.08)
CIE-LCHlch(85.92, 58.25, 85.62°)
OKLaboklab(88.03% 0.0093 0.1345)
OKLCHoklch(88.03% 0.135 86.1)
XYZxyz(66.4420, 67.8241, 22.1596)
Luminance0.6782 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFD166 #6694FF
analogous
#FF8566 #FFD166 #E0FF66
triadic
#FFD166 #66FFD1 #D166FF
tetradic
#FFD166 #66FF85 #6694FF #FF66E0
square
#FFD166 #66FF85 #6694FF #FF66E0
split-complementary
#FFD166 #66E0FF #8566FF
monochromatic
#EBA400 #FFBF29 #FFD166 #FFE3A3 #FFF6E0

Accessibility & contrast

On white

1.44
#FFD166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.56
#FFD166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFD166
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFD166#FFFFFF#000000##000000
##FFD1661.001.4414.5614.56
#FFFFFF1.441.0021.0021.00
#00000014.5621.001.001.00
##00000014.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D05B
Deuteranopia (green-blind)
#F2DC6A
Tritanopia (blue-blind)
#FFC1B9
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #ffd166;
/* rgb */ color: rgb(255, 209, 102);
/* oklch */ color: oklch(88.0% 0.135 86.1);
Tailwind
colors: {
  custom: {
    50: '#ffde95',
    500: '#ffd166',
    950: '#000000',
  },
}
SCSS
$custom: #ffd166;
$custom-light: #ffde95;
$custom-dark: #000000;
JSON
{
  "hex": "#ffd166",
  "rgb": {
    "r": 255,
    "g": 209,
    "b": 102
  },
  "hsl": {
    "h": 41.961,
    "s": 100,
    "l": 70
  },
  "oklch": {
    "l": 0.8803,
    "c": 0.13478,
    "h": 86.1
  },
  "luminance": 0.6782
}

Semantic roles & 50–950 ramp

primary
#FFD166
secondary
#2F62DA
accent
#45E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#19150D
muted
#87847F

Preview Lab

Preview with #FFD166

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

Preview Lab → · Contrast checker → · Palette generator →

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