#DBD752#DBD752

#DBD752 is a very light, vivid yellow. Relative luminance 0.643; OKLCH L 85.8% C 0.152 H 107.6°. Best body text is #000000 at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#DBD752
RGBrgb(219, 215, 82)
HSLhsl(58, 66%, 59%)
HSVhsv(58, 63%, 86%)
CMYKcmyk(0%, 1.8%, 62.6%, 14.1%)
CIE-LABlab(84.11, -14.74, 63.88)
CIE-LCHlch(84.11, 65.56, 102.99°)
OKLaboklab(85.79% -0.0459 0.145)
OKLCHoklch(85.79% 0.152 107.6)
XYZxyz(55.0387, 64.2718, 17.4875)
Luminance0.6427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBD752 #5256DB
analogous
#DB9352 #DBD752 #9BDB52
triadic
#DBD752 #52DBD7 #D752DB
tetradic
#DBD752 #52DB93 #5256DB #DB529B
square
#DBD752 #52DB93 #5256DB #DB529B
split-complementary
#DBD752 #529BDB #9352DB
monochromatic
#94901F #C6C229 #DBD752 #E6E385 #F0EEB7

Accessibility & contrast

On white

1.52
#DBD752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.85
#DBD752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBD752
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBD752#FFFFFF#000000##000000
##DBD7521.001.5213.8513.85
#FFFFFF1.521.0021.0021.00
#00000013.8521.001.001.00
##00000013.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF41
Deuteranopia (green-blind)
#EAD45A
Tritanopia (blue-blind)
#EACABB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dbd752;
/* rgb */ color: rgb(219, 215, 82);
/* oklch */ color: oklch(85.8% 0.152 107.6);
Tailwind
colors: {
  custom: {
    50: '#e9e389',
    500: '#dbd752',
    950: '#000000',
  },
}
SCSS
$custom: #dbd752;
$custom-light: #e9e389;
$custom-dark: #000000;
JSON
{
  "hex": "#dbd752",
  "rgb": {
    "r": 219,
    "g": 215,
    "b": 82
  },
  "hsl": {
    "h": 58.248,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.85791,
    "c": 0.15213,
    "h": 107.6
  },
  "luminance": 0.6427
}

Semantic roles & 50–950 ramp

primary
#DBD752
secondary
#393B99
accent
#44E93F
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DBD752

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

Preview Lab → · Contrast checker → · Palette generator →

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