#FDF97E#FDF97E

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

Color values

HEX#FDF97E
RGBrgb(253, 249, 126)
HSLhsl(58, 97%, 74%)
HSVhsv(58, 50%, 99%)
CMYKcmyk(0%, 1.6%, 50.2%, 0.8%)
CIE-LABlab(96.06, -14.58, 58.83)
CIE-LCHlch(96.06, 60.61, 103.92°)
OKLaboklab(96.09% -0.0428 0.1387)
OKLCHoklch(96.09% 0.145 107.2)
XYZxyz(78.1516, 90.1425, 33.0171)
Luminance0.9014 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF97E #7E82FD
analogous
#FDBA7E #FDF97E #C2FD7E
triadic
#FDF97E #7EFDF9 #F97EFD
tetradic
#FDF97E #7EFDBA #7E82FD #FD7EC2
square
#FDF97E #7EFDBA #7E82FD #FD7EC2
split-complementary
#FDF97E #7EC2FD #BA7EFD
monochromatic
#FBF305 #FCF642 #FDF97E #FEFCBA #FFFEE1

Accessibility & contrast

On white

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

On black

19.03
#FDF97E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF97E
19.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF97E#FFFFFF#000000##000000
##FDF97E1.001.1019.0319.03
#FFFFFF1.101.0021.0021.00
#00000019.0321.001.001.00
##00000019.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fdf97e;
/* rgb */ color: rgb(253, 249, 126);
/* oklch */ color: oklch(96.1% 0.145 107.2);
Tailwind
colors: {
  custom: {
    50: '#fffba6',
    500: '#fdf97e',
    950: '#000000',
  },
}
SCSS
$custom: #fdf97e;
$custom-light: #fffba6;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf97e",
  "rgb": {
    "r": 253,
    "g": 249,
    "b": 126
  },
  "hsl": {
    "h": 58.11,
    "s": 96.947,
    "l": 74.314
  },
  "oklch": {
    "l": 0.96094,
    "c": 0.14511,
    "h": 107.2
  },
  "luminance": 0.9014
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FDF97E

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

Preview Lab → · Contrast checker → · Palette generator →

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