#FDEC8B#FDEC8B

#FDEC8B is a very light, moderate yellow. Relative luminance 0.827; OKLCH L 93.6% C 0.119 H 99.6°. Best body text is #000000 at 17.55:1 contrast (WCAG AA passes).

Color values

HEX#FDEC8B
RGBrgb(253, 236, 139)
HSLhsl(51, 97%, 77%)
HSVhsv(51, 45%, 99%)
CMYKcmyk(0%, 6.7%, 45.1%, 0.8%)
CIE-LABlab(92.90, -7.02, 48.91)
CIE-LCHlch(92.90, 49.41, 98.17°)
OKLaboklab(93.64% -0.0198 0.1178)
OKLCHoklch(93.64% 0.119 99.6)
XYZxyz(75.1656, 82.7401, 36.4321)
Luminance0.8274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDEC8B #8B9CFD
analogous
#FDB38B #FDEC8B #D5FD8B
triadic
#FDEC8B #8BFDEC #EC8BFD
tetradic
#FDEC8B #8BFDB3 #8B9CFD #FD8BD5
square
#FDEC8B #8BFDB3 #8B9CFD #FD8BD5
split-complementary
#FDEC8B #8BD5FD #B38BFD
monochromatic
#FBD813 #FCE24F #FDEC8B #FEF6C7 #FEFAE1

Accessibility & contrast

On white

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

On black

17.55
#FDEC8B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDEC8B
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDEC8B#FFFFFF#000000##000000
##FDEC8B1.001.2017.5517.55
#FFFFFF1.201.0021.0021.00
#00000017.5521.001.001.00
##00000017.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE783
Deuteranopia (green-blind)
#FFEE8F
Tritanopia (blue-blind)
#FFE0D5
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #fdec8b;
/* rgb */ color: rgb(253, 236, 139);
/* oklch */ color: oklch(93.6% 0.119 99.6);
Tailwind
colors: {
  custom: {
    50: '#fff2ae',
    500: '#fdec8b',
    950: '#000000',
  },
}
SCSS
$custom: #fdec8b;
$custom-light: #fff2ae;
$custom-dark: #000000;
JSON
{
  "hex": "#fdec8b",
  "rgb": {
    "r": 253,
    "g": 236,
    "b": 139
  },
  "hsl": {
    "h": 51.053,
    "s": 96.61,
    "l": 76.863
  },
  "oklch": {
    "l": 0.93638,
    "c": 0.11943,
    "h": 99.6
  },
  "luminance": 0.82738
}

Semantic roles & 50–950 ramp

primary
#FDEC8B
secondary
#4F64DD
accent
#22E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181610
muted
#868581

Preview Lab

Preview with #FDEC8B

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

Preview Lab → · Contrast checker → · Palette generator →

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