#FEDF7A#FEDF7A

#FEDF7A is a very light, vivid yellow. Relative luminance 0.753; OKLCH L 90.9% C 0.126 H 92.7°. Best body text is #000000 at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#FEDF7A
RGBrgb(254, 223, 122)
HSLhsl(46, 99%, 74%)
HSVhsv(46, 52%, 100%)
CMYKcmyk(0%, 12.2%, 52%, 0.4%)
CIE-LABlab(89.51, -1.60, 52.93)
CIE-LCHlch(89.51, 52.96, 91.73°)
OKLaboklab(90.91% -0.0059 0.1254)
OKLCHoklch(90.91% 0.126 92.7)
XYZxyz(70.7762, 75.2545, 29.2061)
Luminance0.7525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEDF7A #7A99FE
analogous
#FE9D7A #FEDF7A #DBFE7A
triadic
#FEDF7A #7AFEDF #DF7AFE
tetradic
#FEDF7A #7AFE9D #7A99FE #FE7ADB
square
#FEDF7A #7AFE9D #7A99FE #FE7ADB
split-complementary
#FEDF7A #7ADBFE #9D7AFE
monochromatic
#FCC102 #FED03D #FEDF7A #FEEEB7 #FFF8E1

Accessibility & contrast

On white

1.31
#FEDF7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.05
#FEDF7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEDF7A
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEDF7A#FFFFFF#000000##000000
##FEDF7A1.001.3116.0516.05
#FFFFFF1.311.0021.0021.00
#00000016.0521.001.001.00
##00000016.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DC71
Deuteranopia (green-blind)
#FAE57E
Tritanopia (blue-blind)
#FFD1C7
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #fedf7a;
/* rgb */ color: rgb(254, 223, 122);
/* oklch */ color: oklch(90.9% 0.126 92.7);
Tailwind
colors: {
  custom: {
    50: '#ffe8a3',
    500: '#fedf7a',
    950: '#000000',
  },
}
SCSS
$custom: #fedf7a;
$custom-light: #ffe8a3;
$custom-dark: #000000;
JSON
{
  "hex": "#fedf7a",
  "rgb": {
    "r": 254,
    "g": 223,
    "b": 122
  },
  "hsl": {
    "h": 45.909,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.90911,
    "c": 0.12553,
    "h": 92.7
  },
  "luminance": 0.75251
}

Semantic roles & 50–950 ramp

primary
#FEDF7A
secondary
#4065DC
accent
#36E600
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #FEDF7A

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

Preview Lab → · Contrast checker → · Palette generator →

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