#D2BD4D#D2BD4D

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

Color values

HEX#D2BD4D
RGBrgb(210, 189, 77)
HSLhsl(51, 60%, 56%)
HSVhsv(51, 63%, 82%)
CMYKcmyk(0%, 10%, 63.3%, 17.6%)
CIE-LABlab(76.46, -5.63, 57.60)
CIE-LCHlch(76.46, 57.87, 95.58°)
OKLaboklab(79.51% -0.02 0.1312)
OKLCHoklch(79.51% 0.133 98.7)
XYZxyz(46.1174, 50.6347, 14.3640)
Luminance0.5063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BD4D #4D62D2
analogous
#D27B4D #D2BD4D #A5D24D
triadic
#D2BD4D #4DD2BD #BD4DD2
tetradic
#D2BD4D #4DD27B #4D62D2 #D24DA5
square
#D2BD4D #4DD27B #4D62D2 #D24DA5
split-complementary
#D2BD4D #4DA5D2 #7B4DD2
monochromatic
#837421 #B49F2E #D2BD4D #DECF7E #EBE1AF

Accessibility & contrast

On white

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

On black

11.13
#D2BD4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BD4D
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BD4D#FFFFFF#000000##000000
##D2BD4D1.001.8911.1311.13
#FFFFFF1.891.0021.0021.00
#00000011.1321.001.001.00
##00000011.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2bd4d;
/* rgb */ color: rgb(210, 189, 77);
/* oklch */ color: oklch(79.5% 0.133 98.7);
Tailwind
colors: {
  custom: {
    50: '#e3d084',
    500: '#d2bd4d',
    950: '#000000',
  },
}
SCSS
$custom: #d2bd4d;
$custom-light: #e3d084;
$custom-dark: #000000;
JSON
{
  "hex": "#d2bd4d",
  "rgb": {
    "r": 210,
    "g": 189,
    "b": 77
  },
  "hsl": {
    "h": 50.526,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.79514,
    "c": 0.13274,
    "h": 98.7
  },
  "luminance": 0.50633
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2BD4D

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

Preview Lab → · Contrast checker → · Palette generator →

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