#FFDD52#FFDD52

#FFDD52 is a very light, vivid yellow. Relative luminance 0.736; OKLCH L 90.2% C 0.157 H 95.2°. Best body text is #000000 at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#FFDD52
RGBrgb(255, 221, 82)
HSLhsl(48, 100%, 66%)
HSVhsv(48, 68%, 100%)
CMYKcmyk(0%, 13.3%, 67.8%, 0%)
CIE-LABlab(88.73, -2.85, 69.65)
CIE-LCHlch(88.73, 69.71, 92.35°)
OKLaboklab(90.19% -0.0142 0.1562)
OKLCHoklch(90.19% 0.157 95.2)
XYZxyz(68.6228, 73.5857, 18.5699)
Luminance0.7358 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFDD52 #5274FF
analogous
#FF8652 #FFDD52 #CAFF52
triadic
#FFDD52 #52FFDD #DD52FF
tetradic
#FFDD52 #52FF86 #5274FF #FF52CA
square
#FFDD52 #52FF86 #5274FF #FF52CA
split-complementary
#FFDD52 #52CAFF #8652FF
monochromatic
#D7AC00 #FFD115 #FFDD52 #FFE98F #FFF5CC

Accessibility & contrast

On white

1.34
#FFDD52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.72
#FFDD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFDD52
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFDD52#FFFFFF#000000##000000
##FFDD521.001.3415.7215.72
#FFFFFF1.341.0021.0021.00
#00000015.7221.001.001.00
##00000015.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D93F
Deuteranopia (green-blind)
#FCE359
Tritanopia (blue-blind)
#FFCCC1
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #ffdd52;
/* rgb */ color: rgb(255, 221, 82);
/* oklch */ color: oklch(90.2% 0.157 95.2);
Tailwind
colors: {
  custom: {
    50: '#ffe78a',
    500: '#ffdd52',
    950: '#000000',
  },
}
SCSS
$custom: #ffdd52;
$custom-light: #ffe78a;
$custom-dark: #000000;
JSON
{
  "hex": "#ffdd52",
  "rgb": {
    "r": 255,
    "g": 221,
    "b": 82
  },
  "hsl": {
    "h": 48.208,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.90191,
    "c": 0.15683,
    "h": 95.2
  },
  "luminance": 0.73582
}

Semantic roles & 50–950 ramp

primary
#FFDD52
secondary
#2547D0
accent
#2DE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19150C
muted
#87847F

Preview Lab

Preview with #FFDD52

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

Preview Lab → · Contrast checker → · Palette generator →

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