#FDEC7F#FDEC7F

#FDEC7F is a very light, vivid yellow. Relative luminance 0.824; OKLCH L 93.5% C 0.131 H 100.6°. Best body text is #000000 at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#FDEC7F
RGBrgb(253, 236, 127)
HSLhsl(52, 97%, 75%)
HSVhsv(52, 50%, 99%)
CMYKcmyk(0%, 6.7%, 49.8%, 0.8%)
CIE-LABlab(92.75, -8.10, 54.45)
CIE-LCHlch(92.75, 55.05, 98.46°)
OKLaboklab(93.48% -0.0241 0.1291)
OKLCHoklch(93.48% 0.131 100.6)
XYZxyz(74.3364, 82.4085, 32.0653)
Luminance0.8241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDEC7F #7F90FD
analogous
#FDAD7F #FDEC7F #CFFD7F
triadic
#FDEC7F #7FFDEC #EC7FFD
tetradic
#FDEC7F #7FFDAD #7F90FD #FD7FCF
square
#FDEC7F #7FFDAD #7F90FD #FD7FCF
split-complementary
#FDEC7F #7FCFFD #AD7FFD
monochromatic
#FBDA06 #FCE343 #FDEC7F #FEF5BB #FFFBE1

Accessibility & contrast

On white

1.20
#FDEC7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.48
#FDEC7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDEC7F
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDEC7F#FFFFFF#000000##000000
##FDEC7F1.001.2017.4817.48
#FFFFFF1.201.0021.0021.00
#00000017.4821.001.001.00
##00000017.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE675
Deuteranopia (green-blind)
#FFED84
Tritanopia (blue-blind)
#FFDFD3
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #fdec7f;
/* rgb */ color: rgb(253, 236, 127);
/* oklch */ color: oklch(93.5% 0.131 100.6);
Tailwind
colors: {
  custom: {
    50: '#fff1a6',
    500: '#fdec7f',
    950: '#000000',
  },
}
SCSS
$custom: #fdec7f;
$custom-light: #fff1a6;
$custom-dark: #000000;
JSON
{
  "hex": "#fdec7f",
  "rgb": {
    "r": 253,
    "g": 236,
    "b": 127
  },
  "hsl": {
    "h": 51.905,
    "s": 96.923,
    "l": 74.51
  },
  "oklch": {
    "l": 0.93475,
    "c": 0.13138,
    "h": 100.6
  },
  "luminance": 0.82406
}

Semantic roles & 50–950 ramp

primary
#FDEC7F
secondary
#4559DB
accent
#1FE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181610
muted
#868580

Preview Lab

Preview with #FDEC7F

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

Preview Lab → · Contrast checker → · Palette generator →

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