#D2BC54#D2BC54

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

Color values

HEX#D2BC54
RGBrgb(210, 188, 84)
HSLhsl(50, 58%, 58%)
HSVhsv(50, 60%, 82%)
CMYKcmyk(0%, 10.5%, 60%, 17.6%)
CIE-LABlab(76.26, -4.64, 54.27)
CIE-LCHlch(76.26, 54.47, 94.89°)
OKLaboklab(79.38% -0.0163 0.1251)
OKLCHoklch(79.38% 0.126 97.4)
XYZxyz(46.1637, 50.3102, 15.6650)
Luminance0.5031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BC54 #546AD2
analogous
#D27D54 #D2BC54 #A9D254
triadic
#D2BC54 #54D2BC #BC54D2
tetradic
#D2BC54 #54D27D #546AD2 #D254A9
square
#D2BC54 #54D27D #546AD2 #D254A9
split-complementary
#D2BC54 #54A9D2 #7D54D2
monochromatic
#887624 #B8A131 #D2BC54 #DFCF84 #EBE2B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2BC54#FFFFFF#000000##000000
##D2BC541.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)
#CDB849
Deuteranopia (green-blind)
#D3BF59
Tritanopia (blue-blind)
#E1AFA5
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d2bc54;
/* rgb */ color: rgb(210, 188, 84);
/* oklch */ color: oklch(79.4% 0.126 97.4);
Tailwind
colors: {
  custom: {
    50: '#e3cf88',
    500: '#d2bc54',
    950: '#000000',
  },
}
SCSS
$custom: #d2bc54;
$custom-light: #e3cf88;
$custom-dark: #000000;
JSON
{
  "hex": "#d2bc54",
  "rgb": {
    "r": 210,
    "g": 188,
    "b": 84
  },
  "hsl": {
    "h": 49.524,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.79378,
    "c": 0.12617,
    "h": 97.4
  },
  "luminance": 0.50308
}

Semantic roles & 50–950 ramp

primary
#D2BC54
secondary
#3C4A8E
accent
#61E246
background
#FEFEFC
surface
#FDFBF3
border
#D5D4CD
text
#16130C
muted
#84837F

Preview Lab

Preview with #D2BC54

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

Preview Lab → · Contrast checker → · Palette generator →

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