#FFFD7C#FFFD7C

#FFFD7C is a very light, vivid yellow. Relative luminance 0.930; OKLCH L 97.0% C 0.151 H 108.1°. Best body text is #000000 at 19.59:1 contrast (WCAG AA passes).

Color values

HEX#FFFD7C
RGBrgb(255, 253, 124)
HSLhsl(59, 100%, 74%)
HSVhsv(59, 51%, 100%)
CMYKcmyk(0%, 0.8%, 51.4%, 0%)
CIE-LABlab(97.21, -15.90, 61.13)
CIE-LCHlch(97.21, 63.17, 104.58°)
OKLaboklab(97.05% -0.0469 0.1434)
OKLCHoklch(97.05% 0.151 108.1)
XYZxyz(80.0054, 92.9679, 32.7950)
Luminance0.9297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFD7C #7C7EFF
analogous
#FFBC7C #FFFD7C #C0FF7C
triadic
#FFFD7C #7CFFFD #FD7CFF
tetradic
#FFFD7C #7CFFBC #7C7EFF #FF7CC0
square
#FFFD7C #7CFFBC #7C7EFF #FF7CC0
split-complementary
#FFFD7C #7CC0FF #BC7CFF
monochromatic
#FFFB02 #FFFC3F #FFFD7C #FFFEB9 #FFFFE0

Accessibility & contrast

On white

1.07
#FFFD7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.59
#FFFD7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFD7C
19.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFD7C#FFFFFF#000000##000000
##FFFD7C1.001.0719.5919.59
#FFFFFF1.071.0021.0021.00
#00000019.5921.001.001.00
##00000019.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF470
Deuteranopia (green-blind)
#FFF983
Tritanopia (blue-blind)
#FFEFE0
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fffd7c;
/* rgb */ color: rgb(255, 253, 124);
/* oklch */ color: oklch(97.0% 0.151 108.1);
Tailwind
colors: {
  custom: {
    50: '#fffda5',
    500: '#fffd7c',
    950: '#000000',
  },
}
SCSS
$custom: #fffd7c;
$custom-light: #fffda5;
$custom-dark: #000000;
JSON
{
  "hex": "#fffd7c",
  "rgb": {
    "r": 255,
    "g": 253,
    "b": 124
  },
  "hsl": {
    "h": 59.084,
    "s": 100,
    "l": 74.314
  },
  "oklch": {
    "l": 0.97047,
    "c": 0.15089,
    "h": 108.1
  },
  "luminance": 0.92966
}

Semantic roles & 50–950 ramp

primary
#FFFD7C
secondary
#4244DE
accent
#04E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580

Preview Lab

Preview with #FFFD7C

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

Preview Lab → · Contrast checker → · Palette generator →

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