#D2BC48#D2BC48

#D2BC48 is a light, vivid yellow. Relative luminance 0.501; OKLCH L 79.3% C 0.136 H 98.5°. Best body text is #000000 at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#D2BC48
RGBrgb(210, 188, 72)
HSLhsl(50, 61%, 55%)
HSVhsv(50, 66%, 82%)
CMYKcmyk(0%, 10.5%, 65.7%, 17.6%)
CIE-LABlab(76.15, -5.41, 59.41)
CIE-LCHlch(76.15, 59.65, 95.21°)
OKLaboklab(79.26% -0.02 0.1343)
OKLCHoklch(79.26% 0.136 98.5)
XYZxyz(45.7333, 50.1381, 13.3983)
Luminance0.5014 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BC48 #485ED2
analogous
#D27748 #D2BC48 #A3D248
triadic
#D2BC48 #48D2BC #BC48D2
tetradic
#D2BC48 #48D277 #485ED2 #D248A3
square
#D2BC48 #48D277 #485ED2 #D248A3
split-complementary
#D2BC48 #48A3D2 #7748D2
monochromatic
#807120 #B19C2C #D2BC48 #DECE79 #EAE0AA

Accessibility & contrast

On white

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

On black

11.03
#D2BC48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BC48
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BC48#FFFFFF#000000##000000
##D2BC481.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB739
Deuteranopia (green-blind)
#D3BF4E
Tritanopia (blue-blind)
#E2AFA4
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d2bc48;
/* rgb */ color: rgb(210, 188, 72);
/* oklch */ color: oklch(79.3% 0.136 98.5);
Tailwind
colors: {
  custom: {
    50: '#e3cf81',
    500: '#d2bc48',
    950: '#000000',
  },
}
SCSS
$custom: #d2bc48;
$custom-light: #e3cf81;
$custom-dark: #000000;
JSON
{
  "hex": "#d2bc48",
  "rgb": {
    "r": 210,
    "g": 188,
    "b": 72
  },
  "hsl": {
    "h": 50.435,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.79261,
    "c": 0.13579,
    "h": 98.5
  },
  "luminance": 0.50136
}

Semantic roles & 50–950 ramp

primary
#D2BC48
secondary
#374487
accent
#5EE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16130B
muted
#84837E

Preview Lab

Preview with #D2BC48

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

Preview Lab → · Contrast checker → · Palette generator →

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