#D2BD52#D2BD52

#D2BD52 is a light, vivid yellow. Relative luminance 0.507; OKLCH L 79.6% C 0.129 H 98.3°. Best body text is #000000 at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#D2BD52
RGBrgb(210, 189, 82)
HSLhsl(50, 59%, 57%)
HSVhsv(50, 61%, 82%)
CMYKcmyk(0%, 10%, 61%, 17.6%)
CIE-LABlab(76.50, -5.30, 55.44)
CIE-LCHlch(76.50, 55.69, 95.46°)
OKLaboklab(79.56% -0.0185 0.1274)
OKLCHoklch(79.56% 0.129 98.3)
XYZxyz(46.3008, 50.7081, 15.3298)
Luminance0.5071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BD52 #5267D2
analogous
#D27D52 #D2BD52 #A7D252
triadic
#D2BD52 #52D2BD #BD52D2
tetradic
#D2BD52 #52D27D #5267D2 #D252A7
square
#D2BD52 #52D27D #5267D2 #D252A7
split-complementary
#D2BD52 #52A7D2 #7D52D2
monochromatic
#877623 #B7A130 #D2BD52 #DFD083 #EBE2B3

Accessibility & contrast

On white

1.88
#D2BD52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.14
#D2BD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BD52
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BD52#FFFFFF#000000##000000
##D2BD521.001.8811.1411.14
#FFFFFF1.881.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB946
Deuteranopia (green-blind)
#D4C057
Tritanopia (blue-blind)
#E1B0A6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d2bd52;
/* rgb */ color: rgb(210, 189, 82);
/* oklch */ color: oklch(79.6% 0.129 98.3);
Tailwind
colors: {
  custom: {
    50: '#e3d087',
    500: '#d2bd52',
    950: '#000000',
  },
}
SCSS
$custom: #d2bd52;
$custom-light: #e3d087;
$custom-dark: #000000;
JSON
{
  "hex": "#d2bd52",
  "rgb": {
    "r": 210,
    "g": 189,
    "b": 82
  },
  "hsl": {
    "h": 50.156,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.79564,
    "c": 0.12868,
    "h": 98.3
  },
  "luminance": 0.50706
}

Semantic roles & 50–950 ramp

primary
#D2BD52
secondary
#3B488D
accent
#5FE246
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16130B
muted
#84837E

Preview Lab

Preview with #D2BD52

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

Preview Lab → · Contrast checker → · Palette generator →

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