#FED866#FED866

#FED866 is a very light, vivid yellow. Relative luminance 0.711; OKLCH L 89.3% C 0.138 H 90.9°. Best body text is #000000 at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#FED866
RGBrgb(254, 216, 102)
HSLhsl(45, 99%, 70%)
HSVhsv(45, 60%, 100%)
CMYKcmyk(0%, 15%, 59.8%, 0.4%)
CIE-LABlab(87.56, 0.46, 59.91)
CIE-LCHlch(87.56, 59.91, 89.56°)
OKLaboklab(89.3% -0.0022 0.1384)
OKLCHoklch(89.3% 0.138 90.9)
XYZxyz(67.8303, 71.1455, 22.7275)
Luminance0.7114 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FED866 #668CFE
analogous
#FE8C66 #FED866 #D8FE66
triadic
#FED866 #66FED8 #D866FE
tetradic
#FED866 #66FE8C #668CFE #FE66D8
square
#FED866 #66FE8C #668CFE #FE66D8
split-complementary
#FED866 #66D8FE #8C66FE
monochromatic
#E8AE02 #FEC929 #FED866 #FEE7A3 #FFF7E0

Accessibility & contrast

On white

1.38
#FED866 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.23
#FED866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FED866
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FED866#FFFFFF#000000##000000
##FED8661.001.3815.2315.23
#FFFFFF1.381.0021.0021.00
#00000015.2321.001.001.00
##00000015.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD55A
Deuteranopia (green-blind)
#F6E06B
Tritanopia (blue-blind)
#FFC9BF
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #fed866;
/* rgb */ color: rgb(254, 216, 102);
/* oklch */ color: oklch(89.3% 0.138 90.9);
Tailwind
colors: {
  custom: {
    50: '#ffe395',
    500: '#fed866',
    950: '#000000',
  },
}
SCSS
$custom: #fed866;
$custom-light: #ffe395;
$custom-dark: #000000;
JSON
{
  "hex": "#fed866",
  "rgb": {
    "r": 254,
    "g": 216,
    "b": 102
  },
  "hsl": {
    "h": 45,
    "s": 98.701,
    "l": 69.804
  },
  "oklch": {
    "l": 0.89299,
    "c": 0.13842,
    "h": 90.9
  },
  "luminance": 0.71142
}

Semantic roles & 50–950 ramp

primary
#FED866
secondary
#2F5AD9
accent
#39E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#19150E
muted
#87847F

Preview Lab

Preview with #FED866

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

Preview Lab → · Contrast checker → · Palette generator →

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