#DBC852#DBC852

#DBC852 is a very light, vivid yellow. Relative luminance 0.570; OKLCH L 82.7% C 0.138 H 100.2°. Best body text is #000000 at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#DBC852
RGBrgb(219, 200, 82)
HSLhsl(52, 66%, 59%)
HSVhsv(52, 63%, 86%)
CMYKcmyk(0%, 8.7%, 62.6%, 14.1%)
CIE-LABlab(80.17, -7.18, 59.67)
CIE-LCHlch(80.17, 60.10, 96.86°)
OKLaboklab(82.66% -0.0244 0.1361)
OKLCHoklch(82.66% 0.138 100.2)
XYZxyz(51.3928, 56.9800, 16.2722)
Luminance0.5698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBC852 #5265DB
analogous
#DB8452 #DBC852 #AADB52
triadic
#DBC852 #52DBC8 #C852DB
tetradic
#DBC852 #52DB84 #5265DB #DB52AA
square
#DBC852 #52DB84 #5265DB #DB52AA
split-complementary
#DBC852 #52AADB #8452DB
monochromatic
#94841F #C6B129 #DBC852 #E6D885 #F0E8B7

Accessibility & contrast

On white

1.69
#DBC852 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.40
#DBC852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBC852
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBC852#FFFFFF#000000##000000
##DBC8521.001.6912.4012.40
#FFFFFF1.691.0021.0021.00
#00000012.4021.001.001.00
##00000012.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC344
Deuteranopia (green-blind)
#DFCA58
Tritanopia (blue-blind)
#EBBBAF
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dbc852;
/* rgb */ color: rgb(219, 200, 82);
/* oklch */ color: oklch(82.7% 0.138 100.2);
Tailwind
colors: {
  custom: {
    50: '#e9d887',
    500: '#dbc852',
    950: '#000000',
  },
}
SCSS
$custom: #dbc852;
$custom-light: #e9d887;
$custom-dark: #000000;
JSON
{
  "hex": "#dbc852",
  "rgb": {
    "r": 219,
    "g": 200,
    "b": 82
  },
  "hsl": {
    "h": 51.679,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.82659,
    "c": 0.13829,
    "h": 100.2
  },
  "luminance": 0.56978
}

Semantic roles & 50–950 ramp

primary
#DBC852
secondary
#394699
accent
#57E93F
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DBC852

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

Preview Lab → · Contrast checker → · Palette generator →

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