#FFD752#FFD752

#FFD752 is a very light, vivid yellow. Relative luminance 0.705; OKLCH L 89.0% C 0.153 H 92.0°. Best body text is #000000 at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#FFD752
RGBrgb(255, 215, 82)
HSLhsl(46, 100%, 66%)
HSVhsv(46, 68%, 100%)
CMYKcmyk(0%, 15.7%, 67.8%, 0%)
CIE-LABlab(87.23, 0.18, 68.11)
CIE-LCHlch(87.23, 68.11, 89.84°)
OKLaboklab(89.01% -0.0054 0.1529)
OKLCHoklch(89.01% 0.153 92)
XYZxyz(67.0669, 70.4739, 18.0513)
Luminance0.7047 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFD752 #527AFF
analogous
#FF8052 #FFD752 #D0FF52
triadic
#FFD752 #52FFD7 #D752FF
tetradic
#FFD752 #52FF80 #527AFF #FF52D0
square
#FFD752 #52FF80 #527AFF #FF52D0
split-complementary
#FFD752 #52D0FF #8052FF
monochromatic
#D7A500 #FFC915 #FFD752 #FFE58F #FFF3CC

Accessibility & contrast

On white

1.39
#FFD752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.09
#FFD752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFD752
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFD752#FFFFFF#000000##000000
##FFD7521.001.3915.0915.09
#FFFFFF1.391.0021.0021.00
#00000015.0921.001.001.00
##00000015.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD441
Deuteranopia (green-blind)
#F7DF59
Tritanopia (blue-blind)
#FFC6BC
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #ffd752;
/* rgb */ color: rgb(255, 215, 82);
/* oklch */ color: oklch(89.0% 0.153 92.0);
Tailwind
colors: {
  custom: {
    50: '#ffe389',
    500: '#ffd752',
    950: '#000000',
  },
}
SCSS
$custom: #ffd752;
$custom-light: #ffe389;
$custom-dark: #000000;
JSON
{
  "hex": "#ffd752",
  "rgb": {
    "r": 255,
    "g": 215,
    "b": 82
  },
  "hsl": {
    "h": 46.127,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.89007,
    "c": 0.15303,
    "h": 92
  },
  "luminance": 0.7047
}

Semantic roles & 50–950 ramp

primary
#FFD752
secondary
#254CD0
accent
#35E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19150C
muted
#87847F

Preview Lab

Preview with #FFD752

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

Preview Lab → · Contrast checker → · Palette generator →

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