#FEDF7D#FEDF7D

#FEDF7D is a very light, vivid yellow. Relative luminance 0.753; OKLCH L 91.0% C 0.123 H 92.3°. Best body text is #000000 at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#FEDF7D
RGBrgb(254, 223, 125)
HSLhsl(46, 98%, 74%)
HSVhsv(46, 51%, 100%)
CMYKcmyk(0%, 12.2%, 50.8%, 0.4%)
CIE-LABlab(89.55, -1.35, 51.55)
CIE-LCHlch(89.55, 51.57, 91.50°)
OKLaboklab(90.95% -0.0049 0.1226)
OKLCHoklch(90.95% 0.123 92.3)
XYZxyz(70.9649, 75.3300, 30.2002)
Luminance0.7533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEDF7D #7D9CFE
analogous
#FE9F7D #FEDF7D #DDFE7D
triadic
#FEDF7D #7DFEDF #DF7DFE
tetradic
#FEDF7D #7DFE9F #7D9CFE #FE7DDD
square
#FEDF7D #7DFE9F #7D9CFE #FE7DDD
split-complementary
#FEDF7D #7DDDFE #9F7DFE
monochromatic
#FDC104 #FED040 #FEDF7D #FEEEBA #FFF8E1

Accessibility & contrast

On white

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

On black

16.07
#FEDF7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEDF7D
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEDF7D#FFFFFF#000000##000000
##FEDF7D1.001.3116.0716.07
#FFFFFF1.311.0021.0021.00
#00000016.0721.001.001.00
##00000016.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DC75
Deuteranopia (green-blind)
#FAE581
Tritanopia (blue-blind)
#FFD1C8
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #fedf7d;
/* rgb */ color: rgb(254, 223, 125);
/* oklch */ color: oklch(91.0% 0.123 92.3);
Tailwind
colors: {
  custom: {
    50: '#ffe8a5',
    500: '#fedf7d',
    950: '#000000',
  },
}
SCSS
$custom: #fedf7d;
$custom-light: #ffe8a5;
$custom-dark: #000000;
JSON
{
  "hex": "#fedf7d",
  "rgb": {
    "r": 254,
    "g": 223,
    "b": 125
  },
  "hsl": {
    "h": 45.581,
    "s": 98.473,
    "l": 74.314
  },
  "oklch": {
    "l": 0.90951,
    "c": 0.1227,
    "h": 92.3
  },
  "luminance": 0.75327
}

Semantic roles & 50–950 ramp

primary
#FEDF7D
secondary
#4368DC
accent
#37E600
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #FEDF7D

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

Preview Lab → · Contrast checker → · Palette generator →

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