#FFFF5B#FFFF5B

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

Color values

HEX#FFFF5B
RGBrgb(255, 255, 91)
HSLhsl(60, 100%, 68%)
HSVhsv(60, 64%, 100%)
CMYKcmyk(0%, 0%, 64.3%, 0%)
CIE-LABlab(97.45, -19.09, 75.13)
CIE-LCHlch(97.45, 77.52, 104.26°)
OKLaboklab(97.14% -0.0593 0.1692)
OKLCHoklch(97.14% 0.179 109.3)
XYZxyz(78.8909, 93.5376, 23.7943)
Luminance0.9354 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFF5B #5B5BFF
analogous
#FFAD5B #FFFF5B #ADFF5B
triadic
#FFFF5B #5BFFFF #FF5BFF
tetradic
#FFFF5B #5BFFAD #5B5BFF #FF5BAD
square
#FFFF5B #5BFFAD #5B5BFF #FF5BAD
split-complementary
#FFFF5B #5BADFF #AD5BFF
monochromatic
#E0E000 #FFFF1E #FFFF5B #FFFF98 #FFFFD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFFF5B#FFFFFF#000000##000000
##FFFF5B1.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)
#FFF544
Deuteranopia (green-blind)
#FFFA66
Tritanopia (blue-blind)
#FFF0DE
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #ffff5b;
/* rgb */ color: rgb(255, 255, 91);
/* oklch */ color: oklch(97.1% 0.179 109.3);
Tailwind
colors: {
  custom: {
    50: '#ffff91',
    500: '#ffff5b',
    950: '#000000',
  },
}
SCSS
$custom: #ffff5b;
$custom-light: #ffff91;
$custom-dark: #000000;
JSON
{
  "hex": "#ffff5b",
  "rgb": {
    "r": 255,
    "g": 255,
    "b": 91
  },
  "hsl": {
    "h": 60,
    "s": 100,
    "l": 67.843
  },
  "oklch": {
    "l": 0.9714,
    "c": 0.17925,
    "h": 109.3
  },
  "luminance": 0.93535
}

Semantic roles & 50–950 ramp

primary
#FFFF5B
secondary
#2626D8
accent
#00E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#19170D
muted
#87857F

Preview Lab

Preview with #FFFF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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