#FFFD7F#FFFD7F

#FFFD7F is a very light, vivid yellow. Relative luminance 0.930; OKLCH L 97.1% C 0.148 H 108.0°. Best body text is #000000 at 19.61:1 contrast (WCAG AA passes).

Color values

HEX#FFFD7F
RGBrgb(255, 253, 127)
HSLhsl(59, 100%, 75%)
HSVhsv(59, 50%, 100%)
CMYKcmyk(0%, 0.8%, 50.2%, 0%)
CIE-LABlab(97.25, -15.65, 59.82)
CIE-LCHlch(97.25, 61.83, 104.66°)
OKLaboklab(97.08% -0.0459 0.1409)
OKLCHoklch(97.08% 0.148 108)
XYZxyz(80.1980, 93.0449, 33.8094)
Luminance0.9304 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFD7F #7F81FF
analogous
#FFBD7F #FFFD7F #C1FF7F
triadic
#FFFD7F #7FFFFD #FD7FFF
tetradic
#FFFD7F #7FFFBD #7F81FF #FF7FC1
square
#FFFD7F #7FFFBD #7F81FF #FF7FC1
split-complementary
#FFFD7F #7FC1FF #BD7FFF
monochromatic
#FFFB05 #FFFC42 #FFFD7F #FFFEBC #FFFFE0

Accessibility & contrast

On white

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

On black

19.61
#FFFD7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFD7F
19.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFD7F#FFFFFF#000000##000000
##FFFD7F1.001.0719.6119.61
#FFFFFF1.071.0021.0021.00
#00000019.6121.001.001.00
##00000019.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fffd7f;
/* rgb */ color: rgb(255, 253, 127);
/* oklch */ color: oklch(97.1% 0.148 108.0);
Tailwind
colors: {
  custom: {
    50: '#fffda7',
    500: '#fffd7f',
    950: '#000000',
  },
}
SCSS
$custom: #fffd7f;
$custom-light: #fffda7;
$custom-dark: #000000;
JSON
{
  "hex": "#fffd7f",
  "rgb": {
    "r": 255,
    "g": 253,
    "b": 127
  },
  "hsl": {
    "h": 59.063,
    "s": 100,
    "l": 74.902
  },
  "oklch": {
    "l": 0.97082,
    "c": 0.14814,
    "h": 108
  },
  "luminance": 0.93043
}

Semantic roles & 50–950 ramp

primary
#FFFD7F
secondary
#4447DE
accent
#04E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FFFD7F

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

Preview Lab → · Contrast checker → · Palette generator →

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