#D2BC4C#D2BC4C

#D2BC4C is a light, vivid yellow. Relative luminance 0.502; OKLCH L 79.3% C 0.133 H 98.1°. Best body text is #000000 at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#D2BC4C
RGBrgb(210, 188, 76)
HSLhsl(50, 60%, 56%)
HSVhsv(50, 64%, 82%)
CMYKcmyk(0%, 10.5%, 63.8%, 17.6%)
CIE-LABlab(76.19, -5.17, 57.74)
CIE-LCHlch(76.19, 57.97, 95.12°)
OKLaboklab(79.3% -0.0188 0.1314)
OKLCHoklch(79.3% 0.133 98.1)
XYZxyz(45.8680, 50.1920, 14.1081)
Luminance0.5019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BC4C #4C62D2
analogous
#D2794C #D2BC4C #A5D24C
triadic
#D2BC4C #4CD2BC #BC4CD2
tetradic
#D2BC4C #4CD279 #4C62D2 #D24CA5
square
#D2BC4C #4CD279 #4C62D2 #D24CA5
split-complementary
#D2BC4C #4CA5D2 #794CD2
monochromatic
#837321 #B49E2D #D2BC4C #DECE7D #EBE1AE

Accessibility & contrast

On white

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

On black

11.04
#D2BC4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BC4C
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BC4C#FFFFFF#000000##000000
##D2BC4C1.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2bc4c;
/* rgb */ color: rgb(210, 188, 76);
/* oklch */ color: oklch(79.3% 0.133 98.1);
Tailwind
colors: {
  custom: {
    50: '#e3cf83',
    500: '#d2bc4c',
    950: '#000000',
  },
}
SCSS
$custom: #d2bc4c;
$custom-light: #e3cf83;
$custom-dark: #000000;
JSON
{
  "hex": "#d2bc4c",
  "rgb": {
    "r": 210,
    "g": 188,
    "b": 76
  },
  "hsl": {
    "h": 50.149,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.79297,
    "c": 0.13272,
    "h": 98.1
  },
  "luminance": 0.5019
}

Semantic roles & 50–950 ramp

primary
#D2BC4C
secondary
#38468A
accent
#5FE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16130B
muted
#84837E

Preview Lab

Preview with #D2BC4C

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

Preview Lab → · Contrast checker → · Palette generator →

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