#D2BB4B#D2BB4B

#D2BB4B is a light, vivid yellow. Relative luminance 0.497; OKLCH L 79.1% C 0.133 H 97.6°. Best body text is #000000 at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#D2BB4B
RGBrgb(210, 187, 75)
HSLhsl(50, 60%, 56%)
HSVhsv(50, 64%, 82%)
CMYKcmyk(0%, 11%, 64.3%, 17.6%)
CIE-LABlab(75.92, -4.71, 57.88)
CIE-LCHlch(75.92, 58.07, 94.65°)
OKLaboklab(79.08% -0.0176 0.1315)
OKLCHoklch(79.08% 0.133 97.6)
XYZxyz(45.6207, 49.7524, 13.8554)
Luminance0.4975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BB4B #4B62D2
analogous
#D2774B #D2BB4B #A5D24B
triadic
#D2BB4B #4BD2BB #BB4BD2
tetradic
#D2BB4B #4BD277 #4B62D2 #D24BA5
square
#D2BB4B #4BD277 #4B62D2 #D24BA5
split-complementary
#D2BB4B #4BA5D2 #774BD2
monochromatic
#827121 #B39C2D #D2BB4B #DECD7C #EAE0AD

Accessibility & contrast

On white

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

On black

10.95
#D2BB4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BB4B
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BB4B#FFFFFF#000000##000000
##D2BB4B1.001.9210.9510.95
#FFFFFF1.921.0021.0021.00
#00000010.9521.001.001.00
##00000010.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB73E
Deuteranopia (green-blind)
#D3BF51
Tritanopia (blue-blind)
#E2AEA3
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d2bb4b;
/* rgb */ color: rgb(210, 187, 75);
/* oklch */ color: oklch(79.1% 0.133 97.6);
Tailwind
colors: {
  custom: {
    50: '#e3cf82',
    500: '#d2bb4b',
    950: '#000000',
  },
}
SCSS
$custom: #d2bb4b;
$custom-light: #e3cf82;
$custom-dark: #000000;
JSON
{
  "hex": "#d2bb4b",
  "rgb": {
    "r": 210,
    "g": 187,
    "b": 75
  },
  "hsl": {
    "h": 49.778,
    "s": 60,
    "l": 55.882
  },
  "oklch": {
    "l": 0.79081,
    "c": 0.13271,
    "h": 97.6
  },
  "luminance": 0.4975
}

Semantic roles & 50–950 ramp

primary
#D2BB4B
secondary
#A0AAD8
accent
#60E345
background
#FEFCF8
surface
#FDF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D2BB4B

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

Preview Lab → · Contrast checker → · Palette generator →

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