#FED96A#FED96A

#FED96A is a very light, vivid yellow. Relative luminance 0.717; OKLCH L 89.5% C 0.136 H 91.0°. Best body text is #000000 at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#FED96A
RGBrgb(254, 217, 106)
HSLhsl(45, 99%, 71%)
HSVhsv(45, 58%, 100%)
CMYKcmyk(0%, 14.6%, 58.3%, 0.4%)
CIE-LABlab(87.84, 0.23, 58.42)
CIE-LCHlch(87.84, 58.42, 89.78°)
OKLaboklab(89.54% -0.0024 0.1357)
OKLCHoklch(89.54% 0.136 91)
XYZxyz(68.2905, 71.7407, 23.8832)
Luminance0.7174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FED96A #6A8FFE
analogous
#FE8F6A #FED96A #D9FE6A
triadic
#FED96A #6AFED9 #D96AFE
tetradic
#FED96A #6AFE8F #6A8FFE #FE6AD9
square
#FED96A #6AFE8F #6A8FFE #FE6AD9
split-complementary
#FED96A #6AD9FE #8F6AFE
monochromatic
#ECB102 #FEC92D #FED96A #FEE9A7 #FFF7E1

Accessibility & contrast

On white

1.37
#FED96A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.35
#FED96A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FED96A
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FED96A#FFFFFF#000000##000000
##FED96A1.001.3715.3515.35
#FFFFFF1.371.0021.0021.00
#00000015.3521.001.001.00
##00000015.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED65F
Deuteranopia (green-blind)
#F7E16F
Tritanopia (blue-blind)
#FFCAC0
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #fed96a;
/* rgb */ color: rgb(254, 217, 106);
/* oklch */ color: oklch(89.5% 0.136 91.0);
Tailwind
colors: {
  custom: {
    50: '#ffe498',
    500: '#fed96a',
    950: '#000000',
  },
}
SCSS
$custom: #fed96a;
$custom-light: #ffe498;
$custom-dark: #000000;
JSON
{
  "hex": "#fed96a",
  "rgb": {
    "r": 254,
    "g": 217,
    "b": 106
  },
  "hsl": {
    "h": 45,
    "s": 98.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.89539,
    "c": 0.13572,
    "h": 91
  },
  "luminance": 0.71737
}

Semantic roles & 50–950 ramp

primary
#FED96A
secondary
#335CDA
accent
#39E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #FED96A

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

Preview Lab → · Contrast checker → · Palette generator →

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