#FFFF5D#FFFF5D

#FFFF5D is a very light, vivid yellow. Relative luminance 0.936; OKLCH L 97.2% C 0.178 H 109.3°. Best body text is #000000 at 19.71:1 contrast (WCAG AA passes).

Color values

HEX#FFFF5D
RGBrgb(255, 255, 93)
HSLhsl(60, 100%, 68%)
HSVhsv(60, 64%, 100%)
CMYKcmyk(0%, 0%, 63.5%, 0%)
CIE-LABlab(97.46, -18.98, 74.38)
CIE-LCHlch(97.46, 76.76, 104.32°)
OKLaboklab(97.16% -0.0588 0.1679)
OKLCHoklch(97.16% 0.178 109.3)
XYZxyz(78.9783, 93.5725, 24.2548)
Luminance0.9357 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFF5D #5D5DFF
analogous
#FFAE5D #FFFF5D #AEFF5D
triadic
#FFFF5D #5DFFFF #FF5DFF
tetradic
#FFFF5D #5DFFAE #5D5DFF #FF5DAE
square
#FFFF5D #5DFFAE #5D5DFF #FF5DAE
split-complementary
#FFFF5D #5DAEFF #AE5DFF
monochromatic
#E2E200 #FFFF20 #FFFF5D #FFFF9A #FFFFD7

Accessibility & contrast

On white

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

On black

19.71
#FFFF5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFF5D
19.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFF5D#FFFFFF#000000##000000
##FFFF5D1.001.0719.7119.71
#FFFFFF1.071.0021.0021.00
#00000019.7121.001.001.00
##00000019.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF547
Deuteranopia (green-blind)
#FFFA68
Tritanopia (blue-blind)
#FFF0DE
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #ffff5d;
/* rgb */ color: rgb(255, 255, 93);
/* oklch */ color: oklch(97.2% 0.178 109.3);
Tailwind
colors: {
  custom: {
    50: '#ffff92',
    500: '#ffff5d',
    950: '#000000',
  },
}
SCSS
$custom: #ffff5d;
$custom-light: #ffff92;
$custom-dark: #000000;
JSON
{
  "hex": "#ffff5d",
  "rgb": {
    "r": 255,
    "g": 255,
    "b": 93
  },
  "hsl": {
    "h": 60,
    "s": 100,
    "l": 68.235
  },
  "oklch": {
    "l": 0.97156,
    "c": 0.17788,
    "h": 109.3
  },
  "luminance": 0.9357
}

Semantic roles & 50–950 ramp

primary
#FFFF5D
secondary
#2727D9
accent
#00E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#19170E
muted
#87857F

Preview Lab

Preview with #FFFF5D

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

Preview Lab → · Contrast checker → · Palette generator →

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