#D2BD48#D2BD48

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

Color values

HEX#D2BD48
RGBrgb(210, 189, 72)
HSLhsl(51, 61%, 55%)
HSVhsv(51, 66%, 82%)
CMYKcmyk(0%, 10%, 65.7%, 17.6%)
CIE-LABlab(76.42, -5.93, 59.68)
CIE-LCHlch(76.42, 59.98, 95.67°)
OKLaboklab(79.47% -0.0214 0.1349)
OKLCHoklch(79.47% 0.137 99)
XYZxyz(45.9477, 50.5668, 13.4698)
Luminance0.5057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BD48 #485DD2
analogous
#D27848 #D2BD48 #A2D248
triadic
#D2BD48 #48D2BD #BD48D2
tetradic
#D2BD48 #48D278 #485DD2 #D248A2
square
#D2BD48 #48D278 #485DD2 #D248A2
split-complementary
#D2BD48 #48A2D2 #7848D2
monochromatic
#807120 #B19D2C #D2BD48 #DECF79 #EAE0AA

Accessibility & contrast

On white

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

On black

11.11
#D2BD48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BD48
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BD48#FFFFFF#000000##000000
##D2BD481.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB839
Deuteranopia (green-blind)
#D4C04E
Tritanopia (blue-blind)
#E2B0A5
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d2bd48;
/* rgb */ color: rgb(210, 189, 72);
/* oklch */ color: oklch(79.5% 0.137 99.0);
Tailwind
colors: {
  custom: {
    50: '#e3d081',
    500: '#d2bd48',
    950: '#000000',
  },
}
SCSS
$custom: #d2bd48;
$custom-light: #e3d081;
$custom-dark: #000000;
JSON
{
  "hex": "#d2bd48",
  "rgb": {
    "r": 210,
    "g": 189,
    "b": 72
  },
  "hsl": {
    "h": 50.87,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.79468,
    "c": 0.13658,
    "h": 99
  },
  "luminance": 0.50565
}

Semantic roles & 50–950 ramp

primary
#D2BD48
secondary
#374387
accent
#5CE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16130B
muted
#84837E

Preview Lab

Preview with #D2BD48

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

Preview Lab → · Contrast checker → · Palette generator →

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