#FDF97B#FDF97B

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

Color values

HEX#FDF97B
RGBrgb(253, 249, 123)
HSLhsl(58, 97%, 74%)
HSVhsv(58, 51%, 99%)
CMYKcmyk(0%, 1.6%, 51.4%, 0.8%)
CIE-LABlab(96.02, -14.82, 60.16)
CIE-LCHlch(96.02, 61.95, 103.84°)
OKLaboklab(96.06% -0.0438 0.1412)
OKLCHoklch(96.06% 0.148 107.2)
XYZxyz(77.9609, 90.0662, 32.0128)
Luminance0.9006 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF97B #7B7FFD
analogous
#FDB87B #FDF97B #C0FD7B
triadic
#FDF97B #7BFDF9 #F97BFD
tetradic
#FDF97B #7BFDB8 #7B7FFD #FD7BC0
square
#FDF97B #7BFDB8 #7B7FFD #FD7BC0
split-complementary
#FDF97B #7BC0FD #B87BFD
monochromatic
#FAF204 #FCF63F #FDF97B #FEFCB7 #FFFEE1

Accessibility & contrast

On white

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

On black

19.01
#FDF97B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF97B
19.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF97B#FFFFFF#000000##000000
##FDF97B1.001.1019.0119.01
#FFFFFF1.101.0021.0021.00
#00000019.0121.001.001.00
##00000019.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF16F
Deuteranopia (green-blind)
#FFF681
Tritanopia (blue-blind)
#FFEBDD
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fdf97b;
/* rgb */ color: rgb(253, 249, 123);
/* oklch */ color: oklch(96.1% 0.148 107.2);
Tailwind
colors: {
  custom: {
    50: '#fffba4',
    500: '#fdf97b',
    950: '#000000',
  },
}
SCSS
$custom: #fdf97b;
$custom-light: #fffba4;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf97b",
  "rgb": {
    "r": 253,
    "g": 249,
    "b": 123
  },
  "hsl": {
    "h": 58.154,
    "s": 97.015,
    "l": 73.725
  },
  "oklch": {
    "l": 0.96059,
    "c": 0.14788,
    "h": 107.2
  },
  "luminance": 0.90064
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FDF97B

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

Preview Lab → · Contrast checker → · Palette generator →

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