#DBC652#DBC652

#DBC652 is a very light, vivid yellow. Relative luminance 0.561; OKLCH L 82.2% C 0.137 H 99.0°. Best body text is #000000 at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#DBC652
RGBrgb(219, 198, 82)
HSLhsl(51, 66%, 59%)
HSVhsv(51, 63%, 86%)
CMYKcmyk(0%, 9.6%, 62.6%, 14.1%)
CIE-LABlab(79.65, -6.15, 59.11)
CIE-LCHlch(79.65, 59.43, 95.94°)
OKLaboklab(82.25% -0.0215 0.1349)
OKLCHoklch(82.25% 0.137 99)
XYZxyz(50.9326, 56.0597, 16.1188)
Luminance0.5606 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBC652 #5267DB
analogous
#DB8252 #DBC652 #ACDB52
triadic
#DBC652 #52DBC6 #C652DB
tetradic
#DBC652 #52DB82 #5267DB #DB52AC
square
#DBC652 #52DB82 #5267DB #DB52AC
split-complementary
#DBC652 #52ACDB #8252DB
monochromatic
#94821F #C6AE29 #DBC652 #E6D785 #F0E7B7

Accessibility & contrast

On white

1.72
#DBC652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.21
#DBC652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBC652
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBC652#FFFFFF#000000##000000
##DBC6521.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C145
Deuteranopia (green-blind)
#DEC958
Tritanopia (blue-blind)
#EBB9AD
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #dbc652;
/* rgb */ color: rgb(219, 198, 82);
/* oklch */ color: oklch(82.2% 0.137 99.0);
Tailwind
colors: {
  custom: {
    50: '#e9d787',
    500: '#dbc652',
    950: '#000000',
  },
}
SCSS
$custom: #dbc652;
$custom-light: #e9d787;
$custom-dark: #000000;
JSON
{
  "hex": "#dbc652",
  "rgb": {
    "r": 219,
    "g": 198,
    "b": 82
  },
  "hsl": {
    "h": 50.803,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.82246,
    "c": 0.13662,
    "h": 99
  },
  "luminance": 0.56057
}

Semantic roles & 50–950 ramp

primary
#DBC652
secondary
#394799
accent
#59E93F
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #DBC652

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

Preview Lab → · Contrast checker → · Palette generator →

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