#DBCC52#DBCC52

#DBCC52 is a very light, vivid yellow. Relative luminance 0.589; OKLCH L 83.5% C 0.142 H 102.3°. Best body text is #000000 at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#DBCC52
RGBrgb(219, 204, 82)
HSLhsl(53, 66%, 59%)
HSVhsv(53, 63%, 86%)
CMYKcmyk(0%, 6.8%, 62.6%, 14.1%)
CIE-LABlab(81.21, -9.22, 60.80)
CIE-LCHlch(81.21, 61.49, 98.62°)
OKLaboklab(83.49% -0.0302 0.1385)
OKLCHoklch(83.49% 0.142 102.3)
XYZxyz(52.3313, 58.8571, 16.5850)
Luminance0.5886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBCC52 #5261DB
analogous
#DB8852 #DBCC52 #A6DB52
triadic
#DBCC52 #52DBCC #CC52DB
tetradic
#DBCC52 #52DB88 #5261DB #DB52A6
square
#DBCC52 #52DB88 #5261DB #DB52A6
split-complementary
#DBCC52 #52A6DB #8852DB
monochromatic
#94871F #C6B529 #DBCC52 #E6DB85 #F0EAB7

Accessibility & contrast

On white

1.64
#DBCC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.77
#DBCC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBCC52
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBCC52#FFFFFF#000000##000000
##DBCC521.001.6412.7712.77
#FFFFFF1.641.0021.0021.00
#00000012.7721.001.001.00
##00000012.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC643
Deuteranopia (green-blind)
#E2CD59
Tritanopia (blue-blind)
#EBBFB2
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #dbcc52;
/* rgb */ color: rgb(219, 204, 82);
/* oklch */ color: oklch(83.5% 0.142 102.3);
Tailwind
colors: {
  custom: {
    50: '#e9db88',
    500: '#dbcc52',
    950: '#000000',
  },
}
SCSS
$custom: #dbcc52;
$custom-light: #e9db88;
$custom-dark: #000000;
JSON
{
  "hex": "#dbcc52",
  "rgb": {
    "r": 219,
    "g": 204,
    "b": 82
  },
  "hsl": {
    "h": 53.431,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.83488,
    "c": 0.14176,
    "h": 102.3
  },
  "luminance": 0.58855
}

Semantic roles & 50–950 ramp

primary
#DBCC52
secondary
#394399
accent
#52E93F
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DBCC52

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

Preview Lab → · Contrast checker → · Palette generator →

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