#FDF598#FDF598

#FDF598 is a very light, moderate yellow. Relative luminance 0.885; OKLCH L 95.6% C 0.115 H 104.1°. Best body text is #000000 at 18.69:1 contrast (WCAG AA passes).

Color values

HEX#FDF598
RGBrgb(253, 245, 152)
HSLhsl(55, 96%, 79%)
HSVhsv(55, 40%, 99%)
CMYKcmyk(0%, 3.2%, 39.9%, 0.8%)
CIE-LABlab(95.35, -10.20, 45.69)
CIE-LCHlch(95.35, 46.81, 102.58°)
OKLaboklab(95.64% -0.0279 0.1112)
OKLCHoklch(95.64% 0.115 104.1)
XYZxyz(78.8293, 88.4565, 42.6210)
Luminance0.8845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF598 #98A0FD
analogous
#FDC398 #FDF598 #D2FD98
triadic
#FDF598 #98FDF5 #F598FD
tetradic
#FDF598 #98FDC3 #98A0FD #FD98D2
square
#FDF598 #98FDC3 #98A0FD #FD98D2
split-complementary
#FDF598 #98D2FD #C398FD
monochromatic
#FBE920 #FCEF5C #FDF598 #FEFBD4 #FEFCE1

Accessibility & contrast

On white

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

On black

18.69
#FDF598 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF598
18.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF598#FFFFFF#000000##000000
##FDF5981.001.1218.6918.69
#FFFFFF1.121.0021.0021.00
#00000018.6921.001.001.00
##00000018.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF91
Deuteranopia (green-blind)
#FFF49C
Tritanopia (blue-blind)
#FFEADE
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fdf598;
/* rgb */ color: rgb(253, 245, 152);
/* oklch */ color: oklch(95.6% 0.115 104.1);
Tailwind
colors: {
  custom: {
    50: '#fff8b7',
    500: '#fdf598',
    950: '#000000',
  },
}
SCSS
$custom: #fdf598;
$custom-light: #fff8b7;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf598",
  "rgb": {
    "r": 253,
    "g": 245,
    "b": 152
  },
  "hsl": {
    "h": 55.248,
    "s": 96.19,
    "l": 79.412
  },
  "oklch": {
    "l": 0.95638,
    "c": 0.11469,
    "h": 104.1
  },
  "luminance": 0.88454
}

Semantic roles & 50–950 ramp

primary
#FDF598
secondary
#5A65DF
accent
#12E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FDF598

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

Preview Lab → · Contrast checker → · Palette generator →

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