#FFDF57#FFDF57

#FFDF57 is a very light, vivid yellow. Relative luminance 0.747; OKLCH L 90.6% C 0.155 H 95.8°. Best body text is #000000 at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#FFDF57
RGBrgb(255, 223, 87)
HSLhsl(49, 100%, 67%)
HSVhsv(49, 66%, 100%)
CMYKcmyk(0%, 12.5%, 65.9%, 0%)
CIE-LABlab(89.27, -3.59, 68.21)
CIE-LCHlch(89.27, 68.30, 93.02°)
OKLaboklab(90.63% -0.0157 0.1539)
OKLCHoklch(90.63% 0.155 95.8)
XYZxyz(69.3513, 74.7270, 19.7858)
Luminance0.7472 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFDF57 #5777FF
analogous
#FF8B57 #FFDF57 #CBFF57
triadic
#FFDF57 #57FFDF #DF57FF
tetradic
#FFDF57 #57FF8B #5777FF #FF57CB
square
#FFDF57 #57FF8B #5777FF #FF57CB
split-complementary
#FFDF57 #57CBFF #8B57FF
monochromatic
#DCB200 #FFD31A #FFDF57 #FFEB94 #FFF6D1

Accessibility & contrast

On white

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

On black

15.94
#FFDF57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFDF57
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFDF57#FFFFFF#000000##000000
##FFDF571.001.3215.9415.94
#FFFFFF1.321.0021.0021.00
#00000015.9421.001.001.00
##00000015.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffdf57;
/* rgb */ color: rgb(255, 223, 87);
/* oklch */ color: oklch(90.6% 0.155 95.8);
Tailwind
colors: {
  custom: {
    50: '#ffe88d',
    500: '#ffdf57',
    950: '#000000',
  },
}
SCSS
$custom: #ffdf57;
$custom-light: #ffe88d;
$custom-dark: #000000;
JSON
{
  "hex": "#ffdf57",
  "rgb": {
    "r": 255,
    "g": 223,
    "b": 87
  },
  "hsl": {
    "h": 48.571,
    "s": 100,
    "l": 67.059
  },
  "oklch": {
    "l": 0.90629,
    "c": 0.15474,
    "h": 95.8
  },
  "luminance": 0.74723
}

Semantic roles & 50–950 ramp

primary
#FFDF57
secondary
#2647D5
accent
#2CE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19160D
muted
#87847F

Preview Lab

Preview with #FFDF57

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

Preview Lab → · Contrast checker → · Palette generator →

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