#FEDF5C#FEDF5C

#FEDF5C is a very light, vivid yellow. Relative luminance 0.746; OKLCH L 90.6% C 0.151 H 95.9°. Best body text is #000000 at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#FEDF5C
RGBrgb(254, 223, 92)
HSLhsl(49, 99%, 68%)
HSVhsv(49, 64%, 100%)
CMYKcmyk(0%, 12.2%, 63.8%, 0.4%)
CIE-LABlab(89.22, -3.72, 66.07)
CIE-LCHlch(89.22, 66.17, 93.22°)
OKLaboklab(90.58% -0.0155 0.1502)
OKLCHoklch(90.58% 0.151 95.9)
XYZxyz(69.1957, 74.6223, 20.8819)
Luminance0.7462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEDF5C #5C7BFE
analogous
#FE8E5C #FEDF5C #CCFE5C
triadic
#FEDF5C #5CFEDF #DF5CFE
tetradic
#FEDF5C #5CFE8E #5C7BFE #FE5CCC
square
#FEDF5C #5CFE8E #5C7BFE #FE5CCC
split-complementary
#FEDF5C #5CCCFE #8E5CFE
monochromatic
#DEB401 #FED31F #FEDF5C #FEEB99 #FFF7D6

Accessibility & contrast

On white

1.32
#FEDF5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.92
#FEDF5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEDF5C
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEDF5C#FFFFFF#000000##000000
##FEDF5C1.001.3215.9215.92
#FFFFFF1.321.0021.0021.00
#00000015.9221.001.001.00
##00000015.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DA4C
Deuteranopia (green-blind)
#FCE463
Tritanopia (blue-blind)
#FFCFC3
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #fedf5c;
/* rgb */ color: rgb(254, 223, 92);
/* oklch */ color: oklch(90.6% 0.151 95.9);
Tailwind
colors: {
  custom: {
    50: '#ffe890',
    500: '#fedf5c',
    950: '#000000',
  },
}
SCSS
$custom: #fedf5c;
$custom-light: #ffe890;
$custom-dark: #000000;
JSON
{
  "hex": "#fedf5c",
  "rgb": {
    "r": 254,
    "g": 223,
    "b": 92
  },
  "hsl": {
    "h": 48.519,
    "s": 98.78,
    "l": 67.843
  },
  "oklch": {
    "l": 0.90582,
    "c": 0.15098,
    "h": 95.9
  },
  "luminance": 0.74619
}

Semantic roles & 50–950 ramp

primary
#FEDF5C
secondary
#2749D7
accent
#2CE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19160D
muted
#87847F

Preview Lab

Preview with #FEDF5C

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

Preview Lab → · Contrast checker → · Palette generator →

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