#FFFF7D#FFFF7D

#FFFF7D is a very light, vivid yellow. Relative luminance 0.943; OKLCH L 97.5% C 0.152 H 108.9°. Best body text is #000000 at 19.85:1 contrast (WCAG AA passes).

Color values

HEX#FFFF7D
RGBrgb(255, 255, 125)
HSLhsl(60, 100%, 75%)
HSVhsv(60, 51%, 100%)
CMYKcmyk(0%, 0%, 51%, 0%)
CIE-LABlab(97.74, -16.78, 61.30)
CIE-LCHlch(97.74, 63.55, 105.31°)
OKLaboklab(97.47% -0.0493 0.1439)
OKLCHoklch(97.47% 0.152 108.9)
XYZxyz(80.7036, 94.2627, 33.3413)
Luminance0.9426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFF7D #7D7DFF
analogous
#FFBE7D #FFFF7D #BEFF7D
triadic
#FFFF7D #7DFFFF #FF7DFF
tetradic
#FFFF7D #7DFFBE #7D7DFF #FF7DBE
square
#FFFF7D #7DFFBE #7D7DFF #FF7DBE
split-complementary
#FFFF7D #7DBEFF #BE7DFF
monochromatic
#FFFF03 #FFFF40 #FFFF7D #FFFFBA #FFFFE0

Accessibility & contrast

On white

1.06
#FFFF7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.85
#FFFF7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFF7D
19.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFF7D#FFFFFF#000000##000000
##FFFF7D1.001.0619.8519.85
#FFFFFF1.061.0021.0021.00
#00000019.8521.001.001.00
##00000019.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF671
Deuteranopia (green-blind)
#FFFB84
Tritanopia (blue-blind)
#FFF1E2
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #ffff7d;
/* rgb */ color: rgb(255, 255, 125);
/* oklch */ color: oklch(97.5% 0.152 108.9);
Tailwind
colors: {
  custom: {
    50: '#ffffa6',
    500: '#ffff7d',
    950: '#000000',
  },
}
SCSS
$custom: #ffff7d;
$custom-light: #ffffa6;
$custom-dark: #000000;
JSON
{
  "hex": "#ffff7d",
  "rgb": {
    "r": 255,
    "g": 255,
    "b": 125
  },
  "hsl": {
    "h": 60,
    "s": 100,
    "l": 74.51
  },
  "oklch": {
    "l": 0.97467,
    "c": 0.15209,
    "h": 108.9
  },
  "luminance": 0.94261
}

Semantic roles & 50–950 ramp

primary
#FFFF7D
secondary
#4242DE
accent
#00E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580

Preview Lab

Preview with #FFFF7D

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

Preview Lab → · Contrast checker → · Palette generator →

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