#FFDF52#FFDF52

#FFDF52 is a very light, vivid yellow. Relative luminance 0.746; OKLCH L 90.6% C 0.158 H 96.2°. Best body text is #000000 at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#FFDF52
RGBrgb(255, 223, 82)
HSLhsl(49, 100%, 66%)
HSVhsv(49, 68%, 100%)
CMYKcmyk(0%, 12.5%, 67.8%, 0%)
CIE-LABlab(89.23, -3.86, 70.16)
CIE-LCHlch(89.23, 70.27, 93.15°)
OKLaboklab(90.59% -0.017 0.1573)
OKLCHoklch(90.59% 0.158 96.2)
XYZxyz(69.1540, 74.6481, 18.7470)
Luminance0.7464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFDF52 #5272FF
analogous
#FF8852 #FFDF52 #C8FF52
triadic
#FFDF52 #52FFDF #DF52FF
tetradic
#FFDF52 #52FF88 #5272FF #FF52C8
square
#FFDF52 #52FF88 #5272FF #FF52C8
split-complementary
#FFDF52 #52C8FF #8852FF
monochromatic
#D7AF00 #FFD415 #FFDF52 #FFEA8F #FFF6CC

Accessibility & contrast

On white

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

On black

15.93
#FFDF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFDF52
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFDF52#FFFFFF#000000##000000
##FFDF521.001.3215.9315.93
#FFFFFF1.321.0021.0021.00
#00000015.9321.001.001.00
##00000015.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DA3F
Deuteranopia (green-blind)
#FDE55A
Tritanopia (blue-blind)
#FFCFC2
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #ffdf52;
/* rgb */ color: rgb(255, 223, 82);
/* oklch */ color: oklch(90.6% 0.158 96.2);
Tailwind
colors: {
  custom: {
    50: '#ffe88a',
    500: '#ffdf52',
    950: '#000000',
  },
}
SCSS
$custom: #ffdf52;
$custom-light: #ffe88a;
$custom-dark: #000000;
JSON
{
  "hex": "#ffdf52",
  "rgb": {
    "r": 255,
    "g": 223,
    "b": 82
  },
  "hsl": {
    "h": 48.902,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.90588,
    "c": 0.15819,
    "h": 96.2
  },
  "luminance": 0.74645
}

Semantic roles & 50–950 ramp

primary
#FFDF52
secondary
#2545D0
accent
#2AE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19160C
muted
#87847F

Preview Lab

Preview with #FFDF52

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

Preview Lab → · Contrast checker → · Palette generator →

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