#FFFD7B#FFFD7B

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

Color values

HEX#FFFD7B
RGBrgb(255, 253, 123)
HSLhsl(59, 100%, 74%)
HSVhsv(59, 52%, 100%)
CMYKcmyk(0%, 0.8%, 51.8%, 0%)
CIE-LABlab(97.20, -15.98, 61.57)
CIE-LCHlch(97.20, 63.61, 104.55°)
OKLaboklab(97.04% -0.0472 0.1443)
OKLCHoklch(97.04% 0.152 108.1)
XYZxyz(79.9425, 92.9427, 32.4636)
Luminance0.9294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFD7B #7B7DFF
analogous
#FFBB7B #FFFD7B #BFFF7B
triadic
#FFFD7B #7BFFFD #FD7BFF
tetradic
#FFFD7B #7BFFBB #7B7DFF #FF7BBF
square
#FFFD7B #7BFFBB #7B7DFF #FF7BBF
split-complementary
#FFFD7B #7BBFFF #BB7BFF
monochromatic
#FFFB01 #FFFC3E #FFFD7B #FFFEB8 #FFFFE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFFD7B#FFFFFF#000000##000000
##FFFD7B1.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)
#FFF46E
Deuteranopia (green-blind)
#FFF982
Tritanopia (blue-blind)
#FFEFE0
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fffd7b;
/* rgb */ color: rgb(255, 253, 123);
/* oklch */ color: oklch(97.0% 0.152 108.1);
Tailwind
colors: {
  custom: {
    50: '#fffda4',
    500: '#fffd7b',
    950: '#000000',
  },
}
SCSS
$custom: #fffd7b;
$custom-light: #fffda4;
$custom-dark: #000000;
JSON
{
  "hex": "#fffd7b",
  "rgb": {
    "r": 255,
    "g": 253,
    "b": 123
  },
  "hsl": {
    "h": 59.091,
    "s": 100,
    "l": 74.118
  },
  "oklch": {
    "l": 0.97036,
    "c": 0.1518,
    "h": 108.1
  },
  "luminance": 0.92941
}

Semantic roles & 50–950 ramp

primary
#FFFD7B
secondary
#4143DD
accent
#03E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FFFD7B

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

Preview Lab → · Contrast checker → · Palette generator →

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