#FDF97C#FDF97C

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

Color values

HEX#FDF97C
RGBrgb(253, 249, 124)
HSLhsl(58, 97%, 74%)
HSVhsv(58, 51%, 99%)
CMYKcmyk(0%, 1.6%, 51%, 0.8%)
CIE-LABlab(96.03, -14.74, 59.72)
CIE-LCHlch(96.03, 61.51, 103.87°)
OKLaboklab(96.07% -0.0435 0.1404)
OKLCHoklch(96.07% 0.147 107.2)
XYZxyz(78.0238, 90.0914, 32.3442)
Luminance0.9009 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF97C #7C80FD
analogous
#FDB97C #FDF97C #C1FD7C
triadic
#FDF97C #7CFDF9 #F97CFD
tetradic
#FDF97C #7CFDB9 #7C80FD #FD7CC1
square
#FDF97C #7CFDB9 #7C80FD #FD7CC1
split-complementary
#FDF97C #7CC1FD #B97CFD
monochromatic
#FBF304 #FCF640 #FDF97C #FEFCB8 #FFFEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FDF97C#FFFFFF#000000##000000
##FDF97C1.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)
#FFF170
Deuteranopia (green-blind)
#FFF682
Tritanopia (blue-blind)
#FFEBDD
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fdf97c;
/* rgb */ color: rgb(253, 249, 124);
/* oklch */ color: oklch(96.1% 0.147 107.2);
Tailwind
colors: {
  custom: {
    50: '#fffba5',
    500: '#fdf97c',
    950: '#000000',
  },
}
SCSS
$custom: #fdf97c;
$custom-light: #fffba5;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf97c",
  "rgb": {
    "r": 253,
    "g": 249,
    "b": 124
  },
  "hsl": {
    "h": 58.14,
    "s": 96.992,
    "l": 73.922
  },
  "oklch": {
    "l": 0.9607,
    "c": 0.14696,
    "h": 107.2
  },
  "luminance": 0.90089
}

Semantic roles & 50–950 ramp

primary
#FDF97C
secondary
#4247DB
accent
#07E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF97C

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

Preview Lab → · Contrast checker → · Palette generator →

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