#D2BF52#D2BF52

#D2BF52 is a light, vivid yellow. Relative luminance 0.516; OKLCH L 80.0% C 0.130 H 99.5°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#D2BF52
RGBrgb(210, 191, 82)
HSLhsl(51, 59%, 57%)
HSVhsv(51, 61%, 82%)
CMYKcmyk(0%, 9%, 61%, 17.6%)
CIE-LABlab(77.03, -6.33, 56.02)
CIE-LCHlch(77.03, 56.38, 96.45°)
OKLaboklab(79.98% -0.0214 0.1286)
OKLCHoklch(79.98% 0.13 99.5)
XYZxyz(46.7340, 51.5744, 15.4742)
Luminance0.5157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BF52 #5265D2
analogous
#D27F52 #D2BF52 #A5D252
triadic
#D2BF52 #52D2BF #BF52D2
tetradic
#D2BF52 #52D27F #5265D2 #D252A5
square
#D2BF52 #52D27F #5265D2 #D252A5
split-complementary
#D2BF52 #52A5D2 #7F52D2
monochromatic
#877823 #B7A330 #D2BF52 #DFD183 #EBE3B3

Accessibility & contrast

On white

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

On black

11.31
#D2BF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BF52
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BF52#FFFFFF#000000##000000
##D2BF521.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA46
Deuteranopia (green-blind)
#D5C158
Tritanopia (blue-blind)
#E1B2A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d2bf52;
/* rgb */ color: rgb(210, 191, 82);
/* oklch */ color: oklch(80.0% 0.130 99.5);
Tailwind
colors: {
  custom: {
    50: '#e3d287',
    500: '#d2bf52',
    950: '#000000',
  },
}
SCSS
$custom: #d2bf52;
$custom-light: #e3d287;
$custom-dark: #000000;
JSON
{
  "hex": "#d2bf52",
  "rgb": {
    "r": 210,
    "g": 191,
    "b": 82
  },
  "hsl": {
    "h": 51.094,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.79979,
    "c": 0.13036,
    "h": 99.5
  },
  "luminance": 0.51572
}

Semantic roles & 50–950 ramp

primary
#D2BF52
secondary
#3B478D
accent
#5DE246
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2BF52

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

Preview Lab → · Contrast checker → · Palette generator →

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