#FDF698#FDF698

#FDF698 is a very light, moderate yellow. Relative luminance 0.891; OKLCH L 95.8% C 0.116 H 104.7°. Best body text is #000000 at 18.81:1 contrast (WCAG AA passes).

Color values

HEX#FDF698
RGBrgb(253, 246, 152)
HSLhsl(56, 96%, 79%)
HSVhsv(56, 40%, 99%)
CMYKcmyk(0%, 2.8%, 39.9%, 0.8%)
CIE-LABlab(95.61, -10.69, 46.01)
CIE-LCHlch(95.61, 47.23, 103.08°)
OKLaboklab(95.84% -0.0293 0.112)
OKLCHoklch(95.84% 0.116 104.7)
XYZxyz(79.1327, 89.0632, 42.7221)
Luminance0.8906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF698 #989FFD
analogous
#FDC498 #FDF698 #D1FD98
triadic
#FDF698 #98FDF6 #F698FD
tetradic
#FDF698 #98FDC4 #989FFD #FD98D1
square
#FDF698 #98FDC4 #989FFD #FD98D1
split-complementary
#FDF698 #98D1FD #C498FD
monochromatic
#FBEC20 #FCF15C #FDF698 #FEFBD4 #FEFCE1

Accessibility & contrast

On white

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

On black

18.81
#FDF698 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF698
18.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF698#FFFFFF#000000##000000
##FDF6981.001.1218.8118.81
#FFFFFF1.121.0021.0021.00
#00000018.8121.001.001.00
##00000018.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF091
Deuteranopia (green-blind)
#FFF59C
Tritanopia (blue-blind)
#FFEBDF
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fdf698;
/* rgb */ color: rgb(253, 246, 152);
/* oklch */ color: oklch(95.8% 0.116 104.7);
Tailwind
colors: {
  custom: {
    50: '#fff9b7',
    500: '#fdf698',
    950: '#000000',
  },
}
SCSS
$custom: #fdf698;
$custom-light: #fff9b7;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf698",
  "rgb": {
    "r": 253,
    "g": 246,
    "b": 152
  },
  "hsl": {
    "h": 55.842,
    "s": 96.19,
    "l": 79.412
  },
  "oklch": {
    "l": 0.9584,
    "c": 0.11574,
    "h": 104.7
  },
  "luminance": 0.89061
}

Semantic roles & 50–950 ramp

primary
#FDF698
secondary
#5A64DF
accent
#10E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FDF698

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

Preview Lab → · Contrast checker → · Palette generator →

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