#FDF168#FDF168

#FDF168 is a very light, vivid yellow. Relative luminance 0.848; OKLCH L 94.2% C 0.156 H 104.3°. Best body text is #000000 at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#FDF168
RGBrgb(253, 241, 104)
HSLhsl(55, 97%, 70%)
HSVhsv(55, 59%, 99%)
CMYKcmyk(0%, 4.7%, 58.9%, 0.8%)
CIE-LABlab(93.79, -12.32, 65.96)
CIE-LCHlch(93.79, 67.10, 100.58°)
OKLaboklab(94.23% -0.0386 0.1516)
OKLCHoklch(94.23% 0.156 104.3)
XYZxyz(74.4646, 84.7953, 25.5387)
Luminance0.8479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF168 #6874FD
analogous
#FDA768 #FDF168 #BEFD68
triadic
#FDF168 #68FDF1 #F168FD
tetradic
#FDF168 #68FDA7 #6874FD #FD68BE
square
#FDF168 #68FDA7 #6874FD #FD68BE
split-complementary
#FDF168 #68BEFD #A768FD
monochromatic
#E8D503 #FCEB2C #FDF168 #FEF7A4 #FFFCE1

Accessibility & contrast

On white

1.17
#FDF168 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.96
#FDF168 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF168
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF168#FFFFFF#000000##000000
##FDF1681.001.1717.9617.96
#FFFFFF1.171.0021.0021.00
#00000017.9621.001.001.00
##00000017.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE959
Deuteranopia (green-blind)
#FFF06F
Tritanopia (blue-blind)
#FFE2D3
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fdf168;
/* rgb */ color: rgb(253, 241, 104);
/* oklch */ color: oklch(94.2% 0.156 104.3);
Tailwind
colors: {
  custom: {
    50: '#fff598',
    500: '#fdf168',
    950: '#000000',
  },
}
SCSS
$custom: #fdf168;
$custom-light: #fff598;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf168",
  "rgb": {
    "r": 253,
    "g": 241,
    "b": 104
  },
  "hsl": {
    "h": 55.168,
    "s": 97.386,
    "l": 70
  },
  "oklch": {
    "l": 0.94226,
    "c": 0.15645,
    "h": 104.3
  },
  "luminance": 0.84793
}

Semantic roles & 50–950 ramp

primary
#FDF168
secondary
#313FD8
accent
#12E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FDF168

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

Preview Lab → · Contrast checker → · Palette generator →

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