#FDF07A#FDF07A

#FDF07A is a very light, vivid yellow. Relative luminance 0.846; OKLCH L 94.2% C 0.140 H 103.0°. Best body text is #000000 at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#FDF07A
RGBrgb(253, 240, 122)
HSLhsl(54, 97%, 74%)
HSVhsv(54, 52%, 99%)
CMYKcmyk(0%, 5.1%, 51.8%, 0.8%)
CIE-LABlab(93.72, -10.50, 57.90)
CIE-LCHlch(93.72, 58.85, 100.27°)
OKLaboklab(94.22% -0.0315 0.1363)
OKLCHoklch(94.22% 0.14 103)
XYZxyz(75.1832, 84.6105, 30.7797)
Luminance0.8461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF07A #7A87FD
analogous
#FDAE7A #FDF07A #C8FD7A
triadic
#FDF07A #7AFDF0 #F07AFD
tetradic
#FDF07A #7AFDAE #7A87FD #FD7AC8
square
#FDF07A #7AFDAE #7A87FD #FD7AC8
split-complementary
#FDF07A #7AC8FD #AE7AFD
monochromatic
#F9E104 #FCE93E #FDF07A #FEF7B6 #FFFCE1

Accessibility & contrast

On white

1.17
#FDF07A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.92
#FDF07A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF07A
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF07A#FFFFFF#000000##000000
##FDF07A1.001.1717.9217.92
#FFFFFF1.171.0021.0021.00
#00000017.9221.001.001.00
##00000017.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE96F
Deuteranopia (green-blind)
#FFF080
Tritanopia (blue-blind)
#FFE2D5
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fdf07a;
/* rgb */ color: rgb(253, 240, 122);
/* oklch */ color: oklch(94.2% 0.140 103.0);
Tailwind
colors: {
  custom: {
    50: '#fff4a3',
    500: '#fdf07a',
    950: '#000000',
  },
}
SCSS
$custom: #fdf07a;
$custom-light: #fff4a3;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf07a",
  "rgb": {
    "r": 253,
    "g": 240,
    "b": 122
  },
  "hsl": {
    "h": 54.046,
    "s": 97.037,
    "l": 73.529
  },
  "oklch": {
    "l": 0.94219,
    "c": 0.13986,
    "h": 103
  },
  "luminance": 0.84608
}

Semantic roles & 50–950 ramp

primary
#FDF07A
secondary
#4150DB
accent
#17E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF07A

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

Preview Lab → · Contrast checker → · Palette generator →

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