#FDF856#FDF856

#FDF856 is a very light, vivid yellow. Relative luminance 0.887; OKLCH L 95.5% C 0.176 H 107.6°. Best body text is #000000 at 18.74:1 contrast (WCAG AA passes).

Color values

HEX#FDF856
RGBrgb(253, 248, 86)
HSLhsl(58, 98%, 66%)
HSVhsv(58, 66%, 99%)
CMYKcmyk(0%, 2%, 66%, 0.8%)
CIE-LABlab(95.45, -16.81, 74.92)
CIE-LCHlch(95.45, 76.78, 102.64°)
OKLaboklab(95.5% -0.0532 0.168)
OKLCHoklch(95.5% 0.176 107.6)
XYZxyz(75.7578, 88.6918, 21.9309)
Luminance0.8869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF856 #565BFD
analogous
#FDA556 #FDF856 #AEFD56
triadic
#FDF856 #56FDF8 #F856FD
tetradic
#FDF856 #56FDA5 #565BFD #FD56AE
square
#FDF856 #56FDA5 #565BFD #FD56AE
split-complementary
#FDF856 #56AEFD #A556FD
monochromatic
#D6D003 #FCF51A #FDF856 #FEFB92 #FEFDCF

Accessibility & contrast

On white

1.12
#FDF856 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.74
#FDF856 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF856
18.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF856#FFFFFF#000000##000000
##FDF8561.001.1218.7418.74
#FFFFFF1.121.0021.0021.00
#00000018.7421.001.001.00
##00000018.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF3E
Deuteranopia (green-blind)
#FFF561
Tritanopia (blue-blind)
#FFE8D7
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fdf856;
/* rgb */ color: rgb(253, 248, 86);
/* oklch */ color: oklch(95.5% 0.176 107.6);
Tailwind
colors: {
  custom: {
    50: '#fffa8e',
    500: '#fdf856',
    950: '#000000',
  },
}
SCSS
$custom: #fdf856;
$custom-light: #fffa8e;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf856",
  "rgb": {
    "r": 253,
    "g": 248,
    "b": 86
  },
  "hsl": {
    "h": 58.204,
    "s": 97.661,
    "l": 66.471
  },
  "oklch": {
    "l": 0.95501,
    "c": 0.17625,
    "h": 107.6
  },
  "luminance": 0.88689
}

Semantic roles & 50–950 ramp

primary
#FDF856
secondary
#272CD0
accent
#07E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#19170D
muted
#87857F

Preview Lab

Preview with #FDF856

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

Preview Lab → · Contrast checker → · Palette generator →

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