#FFDF59#FFDF59

#FFDF59 is a very light, vivid yellow. Relative luminance 0.748; OKLCH L 90.6% C 0.153 H 95.7°. Best body text is #000000 at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#FFDF59
RGBrgb(255, 223, 89)
HSLhsl(48, 100%, 67%)
HSVhsv(48, 65%, 100%)
CMYKcmyk(0%, 12.5%, 65.1%, 0%)
CIE-LABlab(89.28, -3.48, 67.41)
CIE-LCHlch(89.28, 67.50, 92.96°)
OKLaboklab(90.65% -0.0152 0.1526)
OKLCHoklch(90.65% 0.153 95.7)
XYZxyz(69.4341, 74.7601, 20.2221)
Luminance0.7476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFDF59 #5979FF
analogous
#FF8C59 #FFDF59 #CCFF59
triadic
#FFDF59 #59FFDF #DF59FF
tetradic
#FFDF59 #59FF8C #5979FF #FF59CC
square
#FFDF59 #59FF8C #5979FF #FF59CC
split-complementary
#FFDF59 #59CCFF #8C59FF
monochromatic
#DEB300 #FFD31C #FFDF59 #FFEB96 #FFF7D3

Accessibility & contrast

On white

1.32
#FFDF59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.95
#FFDF59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFDF59
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFDF59#FFFFFF#000000##000000
##FFDF591.001.3215.9515.95
#FFFFFF1.321.0021.0021.00
#00000015.9521.001.001.00
##00000015.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DA48
Deuteranopia (green-blind)
#FDE560
Tritanopia (blue-blind)
#FFCFC3
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #ffdf59;
/* rgb */ color: rgb(255, 223, 89);
/* oklch */ color: oklch(90.6% 0.153 95.7);
Tailwind
colors: {
  custom: {
    50: '#ffe88e',
    500: '#ffdf59',
    950: '#000000',
  },
}
SCSS
$custom: #ffdf59;
$custom-light: #ffe88e;
$custom-dark: #000000;
JSON
{
  "hex": "#ffdf59",
  "rgb": {
    "r": 255,
    "g": 223,
    "b": 89
  },
  "hsl": {
    "h": 48.434,
    "s": 100,
    "l": 67.451
  },
  "oklch": {
    "l": 0.90646,
    "c": 0.1533,
    "h": 95.7
  },
  "luminance": 0.74757
}

Semantic roles & 50–950 ramp

primary
#FFDF59
secondary
#2648D6
accent
#2CE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19160D
muted
#87847F

Preview Lab

Preview with #FFDF59

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

Preview Lab → · Contrast checker → · Palette generator →

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