#FDEC4C#FDEC4C

#FDEC4C is a very light, vivid yellow. Relative luminance 0.814; OKLCH L 93.0% C 0.172 H 103.1°. Best body text is #000000 at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#FDEC4C
RGBrgb(253, 236, 76)
HSLhsl(54, 98%, 65%)
HSVhsv(54, 70%, 99%)
CMYKcmyk(0%, 6.7%, 70%, 0.8%)
CIE-LABlab(92.31, -11.45, 75.44)
CIE-LCHlch(92.31, 76.30, 98.63°)
OKLaboklab(92.98% -0.0391 0.1675)
OKLCHoklch(92.98% 0.172 103.1)
XYZxyz(71.8111, 81.3983, 18.7649)
Luminance0.8139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDEC4C #4C5DFD
analogous
#FD934C #FDEC4C #B6FD4C
triadic
#FDEC4C #4CFDEC #EC4CFD
tetradic
#FDEC4C #4CFD93 #4C5DFD #FD4CB6
square
#FDEC4C #4CFD93 #4C5DFD #FD4CB6
split-complementary
#FDEC4C #4CB6FD #934CFD
monochromatic
#CCB902 #FCE60F #FDEC4C #FEF289 #FEF9C5

Accessibility & contrast

On white

1.22
#FDEC4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.28
#FDEC4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDEC4C
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDEC4C#FFFFFF#000000##000000
##FDEC4C1.001.2217.2817.28
#FFFFFF1.221.0021.0021.00
#00000017.2821.001.001.00
##00000017.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE432
Deuteranopia (green-blind)
#FFEC57
Tritanopia (blue-blind)
#FFDCCC
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #fdec4c;
/* rgb */ color: rgb(253, 236, 76);
/* oklch */ color: oklch(93.0% 0.172 103.1);
Tailwind
colors: {
  custom: {
    50: '#fff187',
    500: '#fdec4c',
    950: '#000000',
  },
}
SCSS
$custom: #fdec4c;
$custom-light: #fff187;
$custom-dark: #000000;
JSON
{
  "hex": "#fdec4c",
  "rgb": {
    "r": 253,
    "g": 236,
    "b": 76
  },
  "hsl": {
    "h": 54.237,
    "s": 97.79,
    "l": 64.51
  },
  "oklch": {
    "l": 0.92978,
    "c": 0.17199,
    "h": 103.1
  },
  "luminance": 0.81395
}

Semantic roles & 50–950 ramp

primary
#FDEC4C
secondary
#2535C8
accent
#16E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#19160C
muted
#87857F

Preview Lab

Preview with #FDEC4C

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

Preview Lab → · Contrast checker → · Palette generator →

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