#FFE766#FFE766

#FFE766 is a very light, vivid yellow. Relative luminance 0.794; OKLCH L 92.4% C 0.149 H 98.8°. Best body text is #000000 at 16.87:1 contrast (WCAG AA passes).

Color values

HEX#FFE766
RGBrgb(255, 231, 102)
HSLhsl(51, 100%, 70%)
HSVhsv(51, 60%, 100%)
CMYKcmyk(0%, 9.4%, 60%, 0%)
CIE-LABlab(91.40, -6.69, 64.22)
CIE-LCHlch(91.40, 64.57, 95.95°)
OKLaboklab(92.36% -0.0229 0.1476)
OKLCHoklch(92.36% 0.149 98.8)
XYZxyz(72.2171, 79.3743, 24.0846)
Luminance0.7937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE766 #667EFF
analogous
#FF9A66 #FFE766 #CBFF66
triadic
#FFE766 #66FFE7 #E766FF
tetradic
#FFE766 #66FF9A #667EFF #FF66CB
square
#FFE766 #66FF9A #667EFF #FF66CB
split-complementary
#FFE766 #66CBFF #9A66FF
monochromatic
#EBC600 #FFDD29 #FFE766 #FFF1A3 #FFFAE0

Accessibility & contrast

On white

1.24
#FFE766 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.87
#FFE766 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE766
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE766#FFFFFF#000000##000000
##FFE7661.001.2416.8716.87
#FFFFFF1.241.0021.0021.00
#00000016.8721.001.001.00
##00000016.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE158
Deuteranopia (green-blind)
#FFEA6C
Tritanopia (blue-blind)
#FFD8CB
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #ffe766;
/* rgb */ color: rgb(255, 231, 102);
/* oklch */ color: oklch(92.4% 0.149 98.8);
Tailwind
colors: {
  custom: {
    50: '#ffee96',
    500: '#ffe766',
    950: '#000000',
  },
}
SCSS
$custom: #ffe766;
$custom-light: #ffee96;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe766",
  "rgb": {
    "r": 255,
    "g": 231,
    "b": 102
  },
  "hsl": {
    "h": 50.588,
    "s": 100,
    "l": 70
  },
  "oklch": {
    "l": 0.92362,
    "c": 0.14938,
    "h": 98.8
  },
  "luminance": 0.79371
}

Semantic roles & 50–950 ramp

primary
#FFE766
secondary
#2F4ADA
accent
#24E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#19160E
muted
#87847F

Preview Lab

Preview with #FFE766

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

Preview Lab → · Contrast checker → · Palette generator →

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