#FDEC42#FDEC42

#FDEC42 is a very light, vivid yellow. Relative luminance 0.813; OKLCH L 92.9% C 0.178 H 103.4°. Best body text is #000000 at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#FDEC42
RGBrgb(253, 236, 66)
HSLhsl(55, 98%, 63%)
HSVhsv(55, 74%, 99%)
CMYKcmyk(0%, 6.7%, 73.9%, 0.8%)
CIE-LABlab(92.25, -11.89, 78.79)
CIE-LCHlch(92.25, 79.68, 98.58°)
OKLaboklab(92.91% -0.0413 0.1728)
OKLCHoklch(92.91% 0.178 103.4)
XYZxyz(71.4900, 81.2699, 17.0742)
Luminance0.8127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDEC42 #4253FD
analogous
#FD8E42 #FDEC42 #B1FD42
triadic
#FDEC42 #42FDEC #EC42FD
tetradic
#FDEC42 #42FD8E #4253FD #FD42B1
square
#FDEC42 #42FD8E #4253FD #FD42B1
split-complementary
#FDEC42 #42B1FD #8E42FD
monochromatic
#C3B102 #FCE605 #FDEC42 #FEF27F #FEF8BB

Accessibility & contrast

On white

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

On black

17.25
#FDEC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDEC42
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDEC42#FFFFFF#000000##000000
##FDEC421.001.2217.2517.25
#FFFFFF1.221.0021.0021.00
#00000017.2521.001.001.00
##00000017.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE41E
Deuteranopia (green-blind)
#FFEC4F
Tritanopia (blue-blind)
#FFDBCC
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #fdec42;
/* rgb */ color: rgb(253, 236, 66);
/* oklch */ color: oklch(92.9% 0.178 103.4);
Tailwind
colors: {
  custom: {
    50: '#fff182',
    500: '#fdec42',
    950: '#000000',
  },
}
SCSS
$custom: #fdec42;
$custom-light: #fff182;
$custom-dark: #000000;
JSON
{
  "hex": "#fdec42",
  "rgb": {
    "r": 253,
    "g": 236,
    "b": 66
  },
  "hsl": {
    "h": 54.545,
    "s": 97.906,
    "l": 62.549
  },
  "oklch": {
    "l": 0.92914,
    "c": 0.17768,
    "h": 103.4
  },
  "luminance": 0.81267
}

Semantic roles & 50–950 ramp

primary
#FDEC42
secondary
#2432BF
accent
#15E600
background
#FFFFFB
surface
#FFFEF2
border
#D7D6CC
text
#19160B
muted
#87857E

Preview Lab

Preview with #FDEC42

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

Preview Lab → · Contrast checker → · Palette generator →

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