#FDF968#FDF968

#FDF968 is a very light, vivid yellow. Relative luminance 0.896; OKLCH L 95.9% C 0.164 H 107.6°. Best body text is #000000 at 18.93:1 contrast (WCAG AA passes).

Color values

HEX#FDF968
RGBrgb(253, 249, 104)
HSLhsl(58, 97%, 70%)
HSVhsv(58, 59%, 99%)
CMYKcmyk(0%, 1.6%, 58.9%, 0.8%)
CIE-LABlab(95.85, -16.22, 68.21)
CIE-LCHlch(95.85, 70.11, 103.37°)
OKLaboklab(95.86% -0.0497 0.1564)
OKLCHoklch(95.86% 0.164 107.6)
XYZxyz(76.8848, 89.6358, 26.3454)
Luminance0.8963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF968 #686CFD
analogous
#FDAE68 #FDF968 #B7FD68
triadic
#FDF968 #68FDF9 #F968FD
tetradic
#FDF968 #68FDAE #686CFD #FD68B7
square
#FDF968 #68FDAE #686CFD #FD68B7
split-complementary
#FDF968 #68B7FD #AE68FD
monochromatic
#E8E103 #FCF72C #FDF968 #FEFBA4 #FFFEE1

Accessibility & contrast

On white

1.11
#FDF968 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.93
#FDF968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF968
18.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF968#FFFFFF#000000##000000
##FDF9681.001.1118.9318.93
#FFFFFF1.111.0021.0021.00
#00000018.9321.001.001.00
##00000018.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF057
Deuteranopia (green-blind)
#FFF670
Tritanopia (blue-blind)
#FFEADA
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fdf968;
/* rgb */ color: rgb(253, 249, 104);
/* oklch */ color: oklch(95.9% 0.164 107.6);
Tailwind
colors: {
  custom: {
    50: '#fffb98',
    500: '#fdf968',
    950: '#000000',
  },
}
SCSS
$custom: #fdf968;
$custom-light: #fffb98;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf968",
  "rgb": {
    "r": 253,
    "g": 249,
    "b": 104
  },
  "hsl": {
    "h": 58.389,
    "s": 97.386,
    "l": 70
  },
  "oklch": {
    "l": 0.95859,
    "c": 0.16411,
    "h": 107.6
  },
  "luminance": 0.89633
}

Semantic roles & 50–950 ramp

primary
#FDF968
secondary
#3136D8
accent
#06E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FDF968

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

Preview Lab → · Contrast checker → · Palette generator →

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