#FFDB52#FFDB52

#FFDB52 is a very light, vivid yellow. Relative luminance 0.725; OKLCH L 89.8% C 0.156 H 94.2°. Best body text is #000000 at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#FFDB52
RGBrgb(255, 219, 82)
HSLhsl(48, 100%, 66%)
HSVhsv(48, 68%, 100%)
CMYKcmyk(0%, 14.1%, 67.8%, 0%)
CIE-LABlab(88.23, -1.84, 69.14)
CIE-LCHlch(88.23, 69.16, 91.53°)
OKLaboklab(89.8% -0.0113 0.1551)
OKLCHoklch(89.8% 0.156 94.2)
XYZxyz(68.0979, 72.5359, 18.3950)
Luminance0.7253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFDB52 #5276FF
analogous
#FF8452 #FFDB52 #CDFF52
triadic
#FFDB52 #52FFDB #DB52FF
tetradic
#FFDB52 #52FF84 #5276FF #FF52CD
square
#FFDB52 #52FF84 #5276FF #FF52CD
split-complementary
#FFDB52 #52CDFF #8452FF
monochromatic
#D7AA00 #FFCE15 #FFDB52 #FFE88F #FFF4CC

Accessibility & contrast

On white

1.35
#FFDB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.51
#FFDB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFDB52
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFDB52#FFFFFF#000000##000000
##FFDB521.001.3515.5115.51
#FFFFFF1.351.0021.0021.00
#00000015.5121.001.001.00
##00000015.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D740
Deuteranopia (green-blind)
#FAE259
Tritanopia (blue-blind)
#FFCABF
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #ffdb52;
/* rgb */ color: rgb(255, 219, 82);
/* oklch */ color: oklch(89.8% 0.156 94.2);
Tailwind
colors: {
  custom: {
    50: '#ffe589',
    500: '#ffdb52',
    950: '#000000',
  },
}
SCSS
$custom: #ffdb52;
$custom-light: #ffe589;
$custom-dark: #000000;
JSON
{
  "hex": "#ffdb52",
  "rgb": {
    "r": 255,
    "g": 219,
    "b": 82
  },
  "hsl": {
    "h": 47.514,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.89795,
    "c": 0.15551,
    "h": 94.2
  },
  "luminance": 0.72532
}

Semantic roles & 50–950 ramp

primary
#FFDB52
secondary
#2548D0
accent
#30E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19150C
muted
#87847F

Preview Lab

Preview with #FFDB52

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

Preview Lab → · Contrast checker → · Palette generator →

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