#D2BC52#D2BC52

#D2BC52 is a light, vivid yellow. Relative luminance 0.503; OKLCH L 79.4% C 0.128 H 97.6°. Best body text is #000000 at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#D2BC52
RGBrgb(210, 188, 82)
HSLhsl(50, 59%, 57%)
HSVhsv(50, 61%, 82%)
CMYKcmyk(0%, 10.5%, 61%, 17.6%)
CIE-LABlab(76.24, -4.78, 55.15)
CIE-LCHlch(76.24, 55.36, 94.95°)
OKLaboklab(79.36% -0.017 0.1267)
OKLCHoklch(79.36% 0.128 97.6)
XYZxyz(46.0865, 50.2794, 15.2583)
Luminance0.5028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BC52 #5268D2
analogous
#D27C52 #D2BC52 #A8D252
triadic
#D2BC52 #52D2BC #BC52D2
tetradic
#D2BC52 #52D27C #5268D2 #D252A8
square
#D2BC52 #52D27C #5268D2 #D252A8
split-complementary
#D2BC52 #52A8D2 #7C52D2
monochromatic
#877523 #B7A030 #D2BC52 #DFCF83 #EBE2B3

Accessibility & contrast

On white

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

On black

11.06
#D2BC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BC52
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BC52#FFFFFF#000000##000000
##D2BC521.001.9011.0611.06
#FFFFFF1.901.0021.0021.00
#00000011.0621.001.001.00
##00000011.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2bc52;
/* rgb */ color: rgb(210, 188, 82);
/* oklch */ color: oklch(79.4% 0.128 97.6);
Tailwind
colors: {
  custom: {
    50: '#e3cf87',
    500: '#d2bc52',
    950: '#000000',
  },
}
SCSS
$custom: #d2bc52;
$custom-light: #e3cf87;
$custom-dark: #000000;
JSON
{
  "hex": "#d2bc52",
  "rgb": {
    "r": 210,
    "g": 188,
    "b": 82
  },
  "hsl": {
    "h": 49.688,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.79357,
    "c": 0.12786,
    "h": 97.6
  },
  "luminance": 0.50277
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2BC52

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

Preview Lab → · Contrast checker → · Palette generator →

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