#D2BB4E#D2BB4E

#D2BB4E is a light, vivid yellow. Relative luminance 0.498; OKLCH L 79.1% C 0.130 H 97.4°. Best body text is #000000 at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#D2BB4E
RGBrgb(210, 187, 78)
HSLhsl(50, 59%, 56%)
HSVhsv(50, 63%, 82%)
CMYKcmyk(0%, 11%, 62.9%, 17.6%)
CIE-LABlab(75.94, -4.52, 56.60)
CIE-LCHlch(75.94, 56.78, 94.57°)
OKLaboklab(79.11% -0.0167 0.1293)
OKLCHoklch(79.11% 0.13 97.4)
XYZxyz(45.7258, 49.7945, 14.4090)
Luminance0.4979 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BB4E #4E65D2
analogous
#D2794E #D2BB4E #A7D24E
triadic
#D2BB4E #4ED2BB #BB4ED2
tetradic
#D2BB4E #4ED279 #4E65D2 #D24EA7
square
#D2BB4E #4ED279 #4E65D2 #D24EA7
split-complementary
#D2BB4E #4EA7D2 #794ED2
monochromatic
#847322 #B59D2E #D2BB4E #DECE7F #EBE0B0

Accessibility & contrast

On white

1.92
#D2BB4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.96
#D2BB4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BB4E
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BB4E#FFFFFF#000000##000000
##D2BB4E1.001.9210.9610.96
#FFFFFF1.921.0021.0021.00
#00000010.9621.001.001.00
##00000010.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB742
Deuteranopia (green-blind)
#D2BF53
Tritanopia (blue-blind)
#E2AEA4
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d2bb4e;
/* rgb */ color: rgb(210, 187, 78);
/* oklch */ color: oklch(79.1% 0.130 97.4);
Tailwind
colors: {
  custom: {
    50: '#e3cf84',
    500: '#d2bb4e',
    950: '#000000',
  },
}
SCSS
$custom: #d2bb4e;
$custom-light: #e3cf84;
$custom-dark: #000000;
JSON
{
  "hex": "#d2bb4e",
  "rgb": {
    "r": 210,
    "g": 187,
    "b": 78
  },
  "hsl": {
    "h": 49.545,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.7911,
    "c": 0.13035,
    "h": 97.4
  },
  "luminance": 0.49792
}

Semantic roles & 50–950 ramp

primary
#D2BB4E
secondary
#A3ACD9
accent
#61E345
background
#FEFCF8
surface
#FDF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D2BB4E

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

Preview Lab → · Contrast checker → · Palette generator →

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