#D2BC51#D2BC51

#D2BC51 is a light, vivid yellow. Relative luminance 0.503; OKLCH L 79.3% C 0.129 H 97.7°. Best body text is #000000 at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#D2BC51
RGBrgb(210, 188, 81)
HSLhsl(50, 59%, 57%)
HSVhsv(50, 61%, 82%)
CMYKcmyk(0%, 10.5%, 61.4%, 17.6%)
CIE-LABlab(76.23, -4.85, 55.59)
CIE-LCHlch(76.23, 55.80, 94.98°)
OKLaboklab(79.35% -0.0173 0.1275)
OKLCHoklch(79.35% 0.129 97.7)
XYZxyz(46.0487, 50.2642, 15.0594)
Luminance0.5026 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BC51 #5167D2
analogous
#D27B51 #D2BC51 #A8D251
triadic
#D2BC51 #51D2BC #BC51D2
tetradic
#D2BC51 #51D27B #5167D2 #D251A8
square
#D2BC51 #51D27B #5167D2 #D251A8
split-complementary
#D2BC51 #51A8D2 #7B51D2
monochromatic
#867523 #B79F2F #D2BC51 #DFCF82 #EBE1B2

Accessibility & contrast

On white

1.90
#D2BC51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.05
#D2BC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BC51
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BC51#FFFFFF#000000##000000
##D2BC511.001.9011.0511.05
#FFFFFF1.901.0021.0021.00
#00000011.0521.001.001.00
##00000011.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB845
Deuteranopia (green-blind)
#D3BF56
Tritanopia (blue-blind)
#E1AFA5
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d2bc51;
/* rgb */ color: rgb(210, 188, 81);
/* oklch */ color: oklch(79.3% 0.129 97.7);
Tailwind
colors: {
  custom: {
    50: '#e3cf86',
    500: '#d2bc51',
    950: '#000000',
  },
}
SCSS
$custom: #d2bc51;
$custom-light: #e3cf86;
$custom-dark: #000000;
JSON
{
  "hex": "#d2bc51",
  "rgb": {
    "r": 210,
    "g": 188,
    "b": 81
  },
  "hsl": {
    "h": 49.767,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.79347,
    "c": 0.1287,
    "h": 97.7
  },
  "luminance": 0.50262
}

Semantic roles & 50–950 ramp

primary
#D2BC51
secondary
#3B498D
accent
#60E246
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16130B
muted
#84837E

Preview Lab

Preview with #D2BC51

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

Preview Lab → · Contrast checker → · Palette generator →

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