#FDF56E#FDF56E

#FDF56E is a very light, vivid yellow. Relative luminance 0.873; OKLCH L 95.1% C 0.155 H 105.8°. Best body text is #000000 at 18.46:1 contrast (WCAG AA passes).

Color values

HEX#FDF56E
RGBrgb(253, 245, 110)
HSLhsl(57, 97%, 71%)
HSVhsv(57, 57%, 99%)
CMYKcmyk(0%, 3.2%, 56.5%, 0.8%)
CIE-LABlab(94.87, -13.86, 64.58)
CIE-LCHlch(94.87, 66.05, 102.11°)
OKLaboklab(95.1% -0.0424 0.1494)
OKLCHoklch(95.1% 0.155 105.8)
XYZxyz(75.9773, 87.3157, 27.6002)
Luminance0.8731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF56E #6E76FD
analogous
#FDAD6E #FDF56E #BDFD6E
triadic
#FDF56E #6EFDF5 #F56EFD
tetradic
#FDF56E #6EFDAD #6E76FD #FD6EBD
square
#FDF56E #6EFDAD #6E76FD #FD6EBD
split-complementary
#FDF56E #6EBDFD #AD6EFD
monochromatic
#EDE003 #FCF132 #FDF56E #FEF9AA #FFFDE1

Accessibility & contrast

On white

1.14
#FDF56E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.46
#FDF56E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF56E
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF56E#FFFFFF#000000##000000
##FDF56E1.001.1418.4618.46
#FFFFFF1.141.0021.0021.00
#00000018.4621.001.001.00
##00000018.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED60
Deuteranopia (green-blind)
#FFF375
Tritanopia (blue-blind)
#FFE7D8
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fdf56e;
/* rgb */ color: rgb(253, 245, 110);
/* oklch */ color: oklch(95.1% 0.155 105.8);
Tailwind
colors: {
  custom: {
    50: '#fff89c',
    500: '#fdf56e',
    950: '#000000',
  },
}
SCSS
$custom: #fdf56e;
$custom-light: #fff89c;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf56e",
  "rgb": {
    "r": 253,
    "g": 245,
    "b": 110
  },
  "hsl": {
    "h": 56.643,
    "s": 97.279,
    "l": 71.176
  },
  "oklch": {
    "l": 0.951,
    "c": 0.1553,
    "h": 105.8
  },
  "luminance": 0.87313
}

Semantic roles & 50–950 ramp

primary
#FDF56E
secondary
#363FD9
accent
#0DE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FDF56E

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

Preview Lab → · Contrast checker → · Palette generator →

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