#FEDF7C#FEDF7C

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

Color values

HEX#FEDF7C
RGBrgb(254, 223, 124)
HSLhsl(46, 98%, 74%)
HSVhsv(46, 51%, 100%)
CMYKcmyk(0%, 12.2%, 51.2%, 0.4%)
CIE-LABlab(89.54, -1.43, 52.01)
CIE-LCHlch(89.54, 52.03, 91.58°)
OKLaboklab(90.94% -0.0052 0.1235)
OKLCHoklch(90.94% 0.124 92.4)
XYZxyz(70.9014, 75.3046, 29.8655)
Luminance0.7530 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEDF7C #7C9BFE
analogous
#FE9E7C #FEDF7C #DCFE7C
triadic
#FEDF7C #7CFEDF #DF7CFE
tetradic
#FEDF7C #7CFE9E #7C9BFE #FE7CDC
square
#FEDF7C #7CFE9E #7C9BFE #FE7CDC
split-complementary
#FEDF7C #7CDCFE #9E7CFE
monochromatic
#FDC103 #FED03F #FEDF7C #FEEEB9 #FFF8E1

Accessibility & contrast

On white

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

On black

16.06
#FEDF7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEDF7C
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEDF7C#FFFFFF#000000##000000
##FEDF7C1.001.3116.0616.06
#FFFFFF1.311.0021.0021.00
#00000016.0621.001.001.00
##00000016.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fedf7c;
/* rgb */ color: rgb(254, 223, 124);
/* oklch */ color: oklch(90.9% 0.124 92.4);
Tailwind
colors: {
  custom: {
    50: '#ffe8a4',
    500: '#fedf7c',
    950: '#000000',
  },
}
SCSS
$custom: #fedf7c;
$custom-light: #ffe8a4;
$custom-dark: #000000;
JSON
{
  "hex": "#fedf7c",
  "rgb": {
    "r": 254,
    "g": 223,
    "b": 124
  },
  "hsl": {
    "h": 45.692,
    "s": 98.485,
    "l": 74.118
  },
  "oklch": {
    "l": 0.90937,
    "c": 0.12365,
    "h": 92.4
  },
  "luminance": 0.75301
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FEDF7C

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

Preview Lab → · Contrast checker → · Palette generator →

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