#D6BD52#D6BD52

#D6BD52 is a light, vivid yellow. Relative luminance 0.513; OKLCH L 79.9% C 0.129 H 96.2°. Best body text is #000000 at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#D6BD52
RGBrgb(214, 189, 82)
HSLhsl(49, 62%, 58%)
HSVhsv(49, 62%, 84%)
CMYKcmyk(0%, 11.7%, 61.7%, 16.1%)
CIE-LABlab(76.86, -3.61, 55.94)
CIE-LCHlch(76.86, 56.06, 93.69°)
OKLaboklab(79.93% -0.0139 0.1283)
OKLCHoklch(79.93% 0.129 96.2)
XYZxyz(47.4542, 51.3028, 15.3839)
Luminance0.5130 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6BD52 #526BD6
analogous
#D67B52 #D6BD52 #ADD652
triadic
#D6BD52 #52D6BD #BD52D6
tetradic
#D6BD52 #52D67B #526BD6 #D652AD
square
#D6BD52 #52D67B #526BD6 #D652AD
split-complementary
#D6BD52 #52ADD6 #7B52D6
monochromatic
#8C7821 #BEA22D #D6BD52 #E2D083 #EDE3B5

Accessibility & contrast

On white

1.86
#D6BD52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.26
#D6BD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6BD52
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6BD52#FFFFFF#000000##000000
##D6BD521.001.8611.2611.26
#FFFFFF1.861.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB946
Deuteranopia (green-blind)
#D5C157
Tritanopia (blue-blind)
#E6B0A6
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d6bd52;
/* rgb */ color: rgb(214, 189, 82);
/* oklch */ color: oklch(79.9% 0.129 96.2);
Tailwind
colors: {
  custom: {
    50: '#e6d087',
    500: '#d6bd52',
    950: '#000000',
  },
}
SCSS
$custom: #d6bd52;
$custom-light: #e6d087;
$custom-dark: #000000;
JSON
{
  "hex": "#d6bd52",
  "rgb": {
    "r": 214,
    "g": 189,
    "b": 82
  },
  "hsl": {
    "h": 48.636,
    "s": 61.682,
    "l": 58.039
  },
  "oklch": {
    "l": 0.79934,
    "c": 0.12906,
    "h": 96.2
  },
  "luminance": 0.51301
}

Semantic roles & 50–950 ramp

primary
#D6BD52
secondary
#3A4B92
accent
#62E543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16130B
muted
#85837E

Preview Lab

Preview with #D6BD52

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

Preview Lab → · Contrast checker → · Palette generator →

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