#FDF868#FDF868

#FDF868 is a very light, vivid yellow. Relative luminance 0.890; OKLCH L 95.7% C 0.163 H 107.2°. Best body text is #000000 at 18.80:1 contrast (WCAG AA passes).

Color values

HEX#FDF868
RGBrgb(253, 248, 104)
HSLhsl(58, 97%, 70%)
HSVhsv(58, 59%, 99%)
CMYKcmyk(0%, 2%, 58.9%, 0.8%)
CIE-LABlab(95.59, -15.73, 67.93)
CIE-LCHlch(95.59, 69.73, 103.04°)
OKLaboklab(95.65% -0.0484 0.1558)
OKLCHoklch(95.65% 0.163 107.2)
XYZxyz(76.5765, 89.0193, 26.2427)
Luminance0.8902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF868 #686DFD
analogous
#FDAE68 #FDF868 #B7FD68
triadic
#FDF868 #68FDF8 #F868FD
tetradic
#FDF868 #68FDAE #686DFD #FD68B7
square
#FDF868 #68FDAE #686DFD #FD68B7
split-complementary
#FDF868 #68B7FD #AE68FD
monochromatic
#E8E003 #FCF52C #FDF868 #FEFBA4 #FFFEE1

Accessibility & contrast

On white

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

On black

18.80
#FDF868 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF868
18.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF868#FFFFFF#000000##000000
##FDF8681.001.1218.8018.80
#FFFFFF1.121.0021.0021.00
#00000018.8021.001.001.00
##00000018.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF58
Deuteranopia (green-blind)
#FFF570
Tritanopia (blue-blind)
#FFE9D9
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fdf868;
/* rgb */ color: rgb(253, 248, 104);
/* oklch */ color: oklch(95.7% 0.163 107.2);
Tailwind
colors: {
  custom: {
    50: '#fffa98',
    500: '#fdf868',
    950: '#000000',
  },
}
SCSS
$custom: #fdf868;
$custom-light: #fffa98;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf868",
  "rgb": {
    "r": 253,
    "g": 248,
    "b": 104
  },
  "hsl": {
    "h": 57.987,
    "s": 97.386,
    "l": 70
  },
  "oklch": {
    "l": 0.95654,
    "c": 0.16312,
    "h": 107.2
  },
  "luminance": 0.89017
}

Semantic roles & 50–950 ramp

primary
#FDF868
secondary
#3137D8
accent
#08E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FDF868

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

Preview Lab → · Contrast checker → · Palette generator →

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