#DBC752#DBC752

#DBC752 is a very light, vivid yellow. Relative luminance 0.565; OKLCH L 82.5% C 0.137 H 99.6°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#DBC752
RGBrgb(219, 199, 82)
HSLhsl(51, 66%, 59%)
HSVhsv(51, 63%, 86%)
CMYKcmyk(0%, 9.1%, 62.6%, 14.1%)
CIE-LABlab(79.91, -6.67, 59.39)
CIE-LCHlch(79.91, 59.76, 96.40°)
OKLaboklab(82.45% -0.0229 0.1355)
OKLCHoklch(82.45% 0.137 99.6)
XYZxyz(51.1619, 56.5183, 16.1952)
Luminance0.5652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBC752 #5266DB
analogous
#DB8352 #DBC752 #ABDB52
triadic
#DBC752 #52DBC7 #C752DB
tetradic
#DBC752 #52DB83 #5266DB #DB52AB
square
#DBC752 #52DB83 #5266DB #DB52AB
split-complementary
#DBC752 #52ABDB #8352DB
monochromatic
#94831F #C6B029 #DBC752 #E6D785 #F0E8B7

Accessibility & contrast

On white

1.71
#DBC752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.30
#DBC752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBC752
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBC752#FFFFFF#000000##000000
##DBC7521.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C244
Deuteranopia (green-blind)
#DEC958
Tritanopia (blue-blind)
#EBBAAE
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dbc752;
/* rgb */ color: rgb(219, 199, 82);
/* oklch */ color: oklch(82.5% 0.137 99.6);
Tailwind
colors: {
  custom: {
    50: '#e9d787',
    500: '#dbc752',
    950: '#000000',
  },
}
SCSS
$custom: #dbc752;
$custom-light: #e9d787;
$custom-dark: #000000;
JSON
{
  "hex": "#dbc752",
  "rgb": {
    "r": 219,
    "g": 199,
    "b": 82
  },
  "hsl": {
    "h": 51.241,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.82453,
    "c": 0.13745,
    "h": 99.6
  },
  "luminance": 0.56516
}

Semantic roles & 50–950 ramp

primary
#DBC752
secondary
#394799
accent
#58E93F
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DBC752

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

Preview Lab → · Contrast checker → · Palette generator →

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