#D2BD51#D2BD51

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

Color values

HEX#D2BD51
RGBrgb(210, 189, 81)
HSLhsl(50, 59%, 57%)
HSVhsv(50, 61%, 82%)
CMYKcmyk(0%, 10%, 61.4%, 17.6%)
CIE-LABlab(76.49, -5.37, 55.88)
CIE-LCHlch(76.49, 56.13, 95.48°)
OKLaboklab(79.55% -0.0188 0.1281)
OKLCHoklch(79.55% 0.13 98.3)
XYZxyz(46.2630, 50.6930, 15.1308)
Luminance0.5069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BD51 #5166D2
analogous
#D27D51 #D2BD51 #A6D251
triadic
#D2BD51 #51D2BD #BD51D2
tetradic
#D2BD51 #51D27D #5166D2 #D251A6
square
#D2BD51 #51D27D #5166D2 #D251A6
split-complementary
#D2BD51 #51A6D2 #7D51D2
monochromatic
#867623 #B7A12F #D2BD51 #DFCF82 #EBE2B2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2BD51#FFFFFF#000000##000000
##D2BD511.001.8911.1411.14
#FFFFFF1.891.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2bd51;
/* rgb */ color: rgb(210, 189, 81);
/* oklch */ color: oklch(79.6% 0.130 98.3);
Tailwind
colors: {
  custom: {
    50: '#e3d086',
    500: '#d2bd51',
    950: '#000000',
  },
}
SCSS
$custom: #d2bd51;
$custom-light: #e3d086;
$custom-dark: #000000;
JSON
{
  "hex": "#d2bd51",
  "rgb": {
    "r": 210,
    "g": 189,
    "b": 81
  },
  "hsl": {
    "h": 50.233,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.79554,
    "c": 0.12951,
    "h": 98.3
  },
  "luminance": 0.50691
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2BD51

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

Preview Lab → · Contrast checker → · Palette generator →

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