#DBCD52#DBCD52

#DBCD52 is a very light, vivid yellow. Relative luminance 0.593; OKLCH L 83.7% C 0.143 H 102.8°. Best body text is #000000 at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#DBCD52
RGBrgb(219, 205, 82)
HSLhsl(54, 66%, 59%)
HSVhsv(54, 63%, 86%)
CMYKcmyk(0%, 6.4%, 62.6%, 14.1%)
CIE-LABlab(81.47, -9.72, 61.08)
CIE-LCHlch(81.47, 61.85, 99.05°)
OKLaboklab(83.7% -0.0317 0.1391)
OKLCHoklch(83.7% 0.143 102.8)
XYZxyz(52.5697, 59.3339, 16.6645)
Luminance0.5933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBCD52 #5260DB
analogous
#DB8952 #DBCD52 #A4DB52
triadic
#DBCD52 #52DBCD #CD52DB
tetradic
#DBCD52 #52DB89 #5260DB #DB52A4
square
#DBCD52 #52DB89 #5260DB #DB52A4
split-complementary
#DBCD52 #52A4DB #8952DB
monochromatic
#94881F #C6B629 #DBCD52 #E6DC85 #F0EAB7

Accessibility & contrast

On white

1.63
#DBCD52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.87
#DBCD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBCD52
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBCD52#FFFFFF#000000##000000
##DBCD521.001.6312.8712.87
#FFFFFF1.631.0021.0021.00
#00000012.8721.001.001.00
##00000012.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC743
Deuteranopia (green-blind)
#E3CD59
Tritanopia (blue-blind)
#EBC0B3
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #dbcd52;
/* rgb */ color: rgb(219, 205, 82);
/* oklch */ color: oklch(83.7% 0.143 102.8);
Tailwind
colors: {
  custom: {
    50: '#e9dc88',
    500: '#dbcd52',
    950: '#000000',
  },
}
SCSS
$custom: #dbcd52;
$custom-light: #e9dc88;
$custom-dark: #000000;
JSON
{
  "hex": "#dbcd52",
  "rgb": {
    "r": 219,
    "g": 205,
    "b": 82
  },
  "hsl": {
    "h": 53.869,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.83696,
    "c": 0.14266,
    "h": 102.8
  },
  "luminance": 0.59332
}

Semantic roles & 50–950 ramp

primary
#DBCD52
secondary
#394299
accent
#51E93F
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DBCD52

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

Preview Lab → · Contrast checker → · Palette generator →

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