Yellow#FFFF00

#FFFF00 is a very light, highly saturated yellow. Relative luminance 0.928; OKLCH L 96.8% C 0.211 H 109.8°. Best body text is #000000 at 19.56:1 contrast (WCAG AA passes).

Yellow — editorial page

Color values

HEX#FFFF00
RGBrgb(255, 255, 0)
HSLhsl(60, 100%, 50%)
HSVhsv(60, 100%, 100%)
CMYKcmyk(0%, 0%, 100%, 0%)
CIE-LABlab(97.14, -21.55, 94.48)
CIE-LCHlch(97.14, 96.91, 102.85°)
OKLaboklab(96.8% -0.0714 0.1986)
OKLCHoklch(96.8% 0.211 109.8)
XYZxyz(77.0033, 92.7825, 13.8526)
Luminance0.9278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFF00 #0000FF
analogous
#FF8000 #FFFF00 #80FF00
triadic
#FFFF00 #00FFFF #FF00FF
tetradic
#FFFF00 #00FF80 #0000FF #FF0080
square
#FFFF00 #00FF80 #0000FF #FF0080
split-complementary
#FFFF00 #007FFF #7F00FF
monochromatic
#858500 #C2C200 #FFFF00 #FFFF3D #FFFF7A

Accessibility & contrast

On white

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

On black

19.56
#FFFF00 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFF00
19.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFF00#FFFFFF#000000##000000
##FFFF001.001.0719.5619.56
#FFFFFF1.071.0021.0021.00
#00000019.5621.001.001.00
##00000019.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF400
Deuteranopia (green-blind)
#FFFA31
Tritanopia (blue-blind)
#FFEED9
Achromatopsia (no color)
#F7F7F7

Related colors

#E3E210
#C7C617
#ACAB1A
#92901B
#78771B
#605E19
#484716
#323013
#1D1B0C
#000000
#FFFF3D
#FFFF5B
#FFFF73
#FFFF89
#FFFF9E
#FFFFB2
#FFFFC5
#FFFFD9
#FFFFEC
#FFFFFF
#FFFE3C
#FFFD59
#FFFC71
#FFFB86

Palettes with this color

Design tokens & code

CSS
--color: #ffff00;
/* rgb */ color: rgb(255, 255, 0);
/* oklch */ color: oklch(96.8% 0.211 109.8);
Tailwind
colors: {
  custom: {
    50: '#ffff73',
    500: '#ffff00',
    950: '#000000',
  },
}
SCSS
$custom: #ffff00;
$custom-light: #ffff73;
$custom-dark: #000000;
JSON
{
  "hex": "#ffff00",
  "rgb": {
    "r": 255,
    "g": 255,
    "b": 0
  },
  "hsl": {
    "h": 60,
    "s": 100,
    "l": 50
  },
  "oklch": {
    "l": 0.96798,
    "c": 0.21101,
    "h": 109.8
  },
  "luminance": 0.9278
}

Semantic roles & 50–950 ramp

primary
#FFFF00
secondary
#18188B
accent
#29FF29
background
#FFFFFB
surface
#FFFFF2
border
#D7D7CC
text
#19170A
muted
#87857D

Preview Lab

Preview with #FFFF00

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

Preview Lab → · Contrast checker → · Palette generator →

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