#D2BD4C#D2BD4C

#D2BD4C is a light, vivid yellow. Relative luminance 0.506; OKLCH L 79.5% C 0.134 H 98.7°. Best body text is #000000 at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#D2BD4C
RGBrgb(210, 189, 76)
HSLhsl(51, 60%, 56%)
HSVhsv(51, 64%, 82%)
CMYKcmyk(0%, 10%, 63.8%, 17.6%)
CIE-LABlab(76.45, -5.69, 58.02)
CIE-LCHlch(76.45, 58.30, 95.60°)
OKLaboklab(79.51% -0.0203 0.132)
OKLCHoklch(79.51% 0.134 98.7)
XYZxyz(46.0824, 50.6207, 14.1795)
Luminance0.5062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BD4C #4C61D2
analogous
#D27A4C #D2BD4C #A4D24C
triadic
#D2BD4C #4CD2BD #BD4CD2
tetradic
#D2BD4C #4CD27A #4C61D2 #D24CA4
square
#D2BD4C #4CD27A #4C61D2 #D24CA4
split-complementary
#D2BD4C #4CA4D2 #7A4CD2
monochromatic
#837321 #B49F2D #D2BD4C #DECF7D #EBE1AE

Accessibility & contrast

On white

1.89
#D2BD4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.12
#D2BD4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BD4C
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BD4C#FFFFFF#000000##000000
##D2BD4C1.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB83F
Deuteranopia (green-blind)
#D4C052
Tritanopia (blue-blind)
#E2B0A5
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d2bd4c;
/* rgb */ color: rgb(210, 189, 76);
/* oklch */ color: oklch(79.5% 0.134 98.7);
Tailwind
colors: {
  custom: {
    50: '#e3d083',
    500: '#d2bd4c',
    950: '#000000',
  },
}
SCSS
$custom: #d2bd4c;
$custom-light: #e3d083;
$custom-dark: #000000;
JSON
{
  "hex": "#d2bd4c",
  "rgb": {
    "r": 210,
    "g": 189,
    "b": 76
  },
  "hsl": {
    "h": 50.597,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.79505,
    "c": 0.13353,
    "h": 98.7
  },
  "luminance": 0.50619
}

Semantic roles & 50–950 ramp

primary
#D2BD4C
secondary
#38458A
accent
#5EE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16130B
muted
#84837E

Preview Lab

Preview with #D2BD4C

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

Preview Lab → · Contrast checker → · Palette generator →

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