#FDF97D#FDF97D

#FDF97D is a very light, vivid yellow. Relative luminance 0.901; OKLCH L 96.1% C 0.146 H 107.2°. Best body text is #000000 at 19.02:1 contrast (WCAG AA passes).

Color values

HEX#FDF97D
RGBrgb(253, 249, 125)
HSLhsl(58, 97%, 74%)
HSVhsv(58, 51%, 99%)
CMYKcmyk(0%, 1.6%, 50.6%, 0.8%)
CIE-LABlab(96.05, -14.66, 59.28)
CIE-LCHlch(96.05, 61.06, 103.89°)
OKLaboklab(96.08% -0.0431 0.1395)
OKLCHoklch(96.08% 0.146 107.2)
XYZxyz(78.0874, 90.1168, 32.6789)
Luminance0.9012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF97D #7D81FD
analogous
#FDB97D #FDF97D #C1FD7D
triadic
#FDF97D #7DFDF9 #F97DFD
tetradic
#FDF97D #7DFDB9 #7D81FD #FD7DC1
square
#FDF97D #7DFDB9 #7D81FD #FD7DC1
split-complementary
#FDF97D #7DC1FD #B97DFD
monochromatic
#FBF304 #FCF641 #FDF97D #FEFCB9 #FFFEE1

Accessibility & contrast

On white

1.10
#FDF97D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.02
#FDF97D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF97D
19.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF97D#FFFFFF#000000##000000
##FDF97D1.001.1019.0219.02
#FFFFFF1.101.0021.0021.00
#00000019.0221.001.001.00
##00000019.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF171
Deuteranopia (green-blind)
#FFF683
Tritanopia (blue-blind)
#FFECDD
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fdf97d;
/* rgb */ color: rgb(253, 249, 125);
/* oklch */ color: oklch(96.1% 0.146 107.2);
Tailwind
colors: {
  custom: {
    50: '#fffba6',
    500: '#fdf97d',
    950: '#000000',
  },
}
SCSS
$custom: #fdf97d;
$custom-light: #fffba6;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf97d",
  "rgb": {
    "r": 253,
    "g": 249,
    "b": 125
  },
  "hsl": {
    "h": 58.125,
    "s": 96.97,
    "l": 74.118
  },
  "oklch": {
    "l": 0.96082,
    "c": 0.14604,
    "h": 107.2
  },
  "luminance": 0.90115
}

Semantic roles & 50–950 ramp

primary
#FDF97D
secondary
#4348DB
accent
#07E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580

Preview Lab

Preview with #FDF97D

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

Preview Lab → · Contrast checker → · Palette generator →

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