#FFFF59#FFFF59

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

Color values

HEX#FFFF59
RGBrgb(255, 255, 89)
HSLhsl(60, 100%, 67%)
HSVhsv(60, 65%, 100%)
CMYKcmyk(0%, 0%, 65.1%, 0%)
CIE-LABlab(97.43, -19.20, 75.87)
CIE-LCHlch(97.43, 78.26, 104.21°)
OKLaboklab(97.13% -0.0598 0.1704)
OKLCHoklch(97.13% 0.181 109.3)
XYZxyz(78.8058, 93.5035, 23.3460)
Luminance0.9350 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFF59 #5959FF
analogous
#FFAC59 #FFFF59 #ACFF59
triadic
#FFFF59 #59FFFF #FF59FF
tetradic
#FFFF59 #59FFAC #5959FF #FF59AC
square
#FFFF59 #59FFAC #5959FF #FF59AC
split-complementary
#FFFF59 #59ACFF #AC59FF
monochromatic
#DEDE00 #FFFF1C #FFFF59 #FFFF96 #FFFFD3

Accessibility & contrast

On white

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

On black

19.70
#FFFF59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFF59
19.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFF59#FFFFFF#000000##000000
##FFFF591.001.0719.7019.70
#FFFFFF1.071.0021.0021.00
#00000019.7021.001.001.00
##00000019.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF541
Deuteranopia (green-blind)
#FFFA64
Tritanopia (blue-blind)
#FFEFDD
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #ffff59;
/* rgb */ color: rgb(255, 255, 89);
/* oklch */ color: oklch(97.1% 0.181 109.3);
Tailwind
colors: {
  custom: {
    50: '#ffff90',
    500: '#ffff59',
    950: '#000000',
  },
}
SCSS
$custom: #ffff59;
$custom-light: #ffff90;
$custom-dark: #000000;
JSON
{
  "hex": "#ffff59",
  "rgb": {
    "r": 255,
    "g": 255,
    "b": 89
  },
  "hsl": {
    "h": 60,
    "s": 100,
    "l": 67.451
  },
  "oklch": {
    "l": 0.97125,
    "c": 0.18061,
    "h": 109.3
  },
  "luminance": 0.93501
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFFF59

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

Preview Lab → · Contrast checker → · Palette generator →

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