#D2BD4A#D2BD4A

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

Color values

HEX#D2BD4A
RGBrgb(210, 189, 74)
HSLhsl(51, 60%, 56%)
HSVhsv(51, 65%, 82%)
CMYKcmyk(0%, 10%, 64.8%, 17.6%)
CIE-LABlab(76.43, -5.81, 58.86)
CIE-LCHlch(76.43, 59.14, 95.64°)
OKLaboklab(79.49% -0.0209 0.1335)
OKLCHoklch(79.49% 0.135 98.9)
XYZxyz(46.0140, 50.5933, 13.8190)
Luminance0.5059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BD4A #4A5FD2
analogous
#D2794A #D2BD4A #A3D24A
triadic
#D2BD4A #4AD2BD #BD4AD2
tetradic
#D2BD4A #4AD279 #4A5FD2 #D24AA3
square
#D2BD4A #4AD279 #4A5FD2 #D24AA3
split-complementary
#D2BD4A #4AA3D2 #794AD2
monochromatic
#817220 #B29E2C #D2BD4A #DECF7B #EAE1AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2BD4A#FFFFFF#000000##000000
##D2BD4A1.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)
#CEB83C
Deuteranopia (green-blind)
#D4C050
Tritanopia (blue-blind)
#E2B0A5
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d2bd4a;
/* rgb */ color: rgb(210, 189, 74);
/* oklch */ color: oklch(79.5% 0.135 98.9);
Tailwind
colors: {
  custom: {
    50: '#e3d082',
    500: '#d2bd4a',
    950: '#000000',
  },
}
SCSS
$custom: #d2bd4a;
$custom-light: #e3d082;
$custom-dark: #000000;
JSON
{
  "hex": "#d2bd4a",
  "rgb": {
    "r": 210,
    "g": 189,
    "b": 74
  },
  "hsl": {
    "h": 50.735,
    "s": 60.177,
    "l": 55.686
  },
  "oklch": {
    "l": 0.79486,
    "c": 0.13507,
    "h": 98.9
  },
  "luminance": 0.50591
}

Semantic roles & 50–950 ramp

primary
#D2BD4A
secondary
#384489
accent
#5DE344
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16130B
muted
#84837E

Preview Lab

Preview with #D2BD4A

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

Preview Lab → · Contrast checker → · Palette generator →

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