#FFFF50#FFFF50

#FFFF50 is a very light, vivid yellow. Relative luminance 0.934; OKLCH L 97.1% C 0.186 H 109.4°. Best body text is #000000 at 19.67:1 contrast (WCAG AA passes).

Color values

HEX#FFFF50
RGBrgb(255, 255, 80)
HSLhsl(60, 100%, 66%)
HSVhsv(60, 69%, 100%)
CMYKcmyk(0%, 0%, 68.6%, 0%)
CIE-LABlab(97.37, -19.66, 79.05)
CIE-LCHlch(97.37, 81.46, 103.97°)
OKLaboklab(97.06% -0.0619 0.1757)
OKLCHoklch(97.06% 0.186 109.4)
XYZxyz(78.4507, 93.3615, 21.4759)
Luminance0.9336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFF50 #5050FF
analogous
#FFA750 #FFFF50 #A7FF50
triadic
#FFFF50 #50FFFF #FF50FF
tetradic
#FFFF50 #50FFA7 #5050FF #FF50A7
square
#FFFF50 #50FFA7 #5050FF #FF50A7
split-complementary
#FFFF50 #50A7FF #A750FF
monochromatic
#D5D500 #FFFF13 #FFFF50 #FFFF8D #FFFFCA

Accessibility & contrast

On white

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

On black

19.67
#FFFF50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFF50
19.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFF50#FFFFFF#000000##000000
##FFFF501.001.0719.6719.67
#FFFFFF1.071.0021.0021.00
#00000019.6721.001.001.00
##00000019.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF432
Deuteranopia (green-blind)
#FFFA5D
Tritanopia (blue-blind)
#FFEFDD
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #ffff50;
/* rgb */ color: rgb(255, 255, 80);
/* oklch */ color: oklch(97.1% 0.186 109.4);
Tailwind
colors: {
  custom: {
    50: '#ffff8b',
    500: '#ffff50',
    950: '#000000',
  },
}
SCSS
$custom: #ffff50;
$custom-light: #ffff8b;
$custom-dark: #000000;
JSON
{
  "hex": "#ffff50",
  "rgb": {
    "r": 255,
    "g": 255,
    "b": 80
  },
  "hsl": {
    "h": 60,
    "s": 100,
    "l": 65.686
  },
  "oklch": {
    "l": 0.97061,
    "c": 0.18631,
    "h": 109.4
  },
  "luminance": 0.93359
}

Semantic roles & 50–950 ramp

primary
#FFFF50
secondary
#2424CF
accent
#00E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#19170D
muted
#87857F

Preview Lab

Preview with #FFFF50

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

Preview Lab → · Contrast checker → · Palette generator →

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