#FDF07C#FDF07C

#FDF07C is a very light, vivid yellow. Relative luminance 0.847; OKLCH L 94.2% C 0.138 H 102.9°. Best body text is #000000 at 17.93:1 contrast (WCAG AA passes).

Color values

HEX#FDF07C
RGBrgb(253, 240, 124)
HSLhsl(54, 97%, 74%)
HSVhsv(54, 51%, 99%)
CMYKcmyk(0%, 5.1%, 51%, 0.8%)
CIE-LABlab(93.74, -10.33, 57.01)
CIE-LCHlch(93.74, 57.94, 100.27°)
OKLaboklab(94.24% -0.0308 0.1345)
OKLCHoklch(94.24% 0.138 102.9)
XYZxyz(75.3084, 84.6606, 31.4390)
Luminance0.8466 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF07C #7C89FD
analogous
#FDB07C #FDF07C #CAFD7C
triadic
#FDF07C #7CFDF0 #F07CFD
tetradic
#FDF07C #7CFDB0 #7C89FD #FD7CCA
square
#FDF07C #7CFDB0 #7C89FD #FD7CCA
split-complementary
#FDF07C #7CCAFD #B07CFD
monochromatic
#FBE204 #FCE940 #FDF07C #FEF7B8 #FFFCE1

Accessibility & contrast

On white

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

On black

17.93
#FDF07C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF07C
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF07C#FFFFFF#000000##000000
##FDF07C1.001.1717.9317.93
#FFFFFF1.171.0021.0021.00
#00000017.9321.001.001.00
##00000017.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fdf07c;
/* rgb */ color: rgb(253, 240, 124);
/* oklch */ color: oklch(94.2% 0.138 102.9);
Tailwind
colors: {
  custom: {
    50: '#fff4a5',
    500: '#fdf07c',
    950: '#000000',
  },
}
SCSS
$custom: #fdf07c;
$custom-light: #fff4a5;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf07c",
  "rgb": {
    "r": 253,
    "g": 240,
    "b": 124
  },
  "hsl": {
    "h": 53.953,
    "s": 96.992,
    "l": 73.922
  },
  "oklch": {
    "l": 0.94243,
    "c": 0.13799,
    "h": 102.9
  },
  "luminance": 0.84658
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FDF07C

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

Preview Lab → · Contrast checker → · Palette generator →

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