#D2B84C#D2B84C

#D2B84C is a light, vivid yellow. Relative luminance 0.485; OKLCH L 78.5% C 0.130 H 95.7°. Best body text is #000000 at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#D2B84C
RGBrgb(210, 184, 76)
HSLhsl(48, 60%, 56%)
HSVhsv(48, 64%, 82%)
CMYKcmyk(0%, 12.4%, 63.8%, 17.6%)
CIE-LABlab(75.14, -3.09, 56.62)
CIE-LCHlch(75.14, 56.70, 93.12°)
OKLaboklab(78.47% -0.0128 0.129)
OKLCHoklch(78.47% 0.13 95.7)
XYZxyz(45.0254, 48.5066, 13.8272)
Luminance0.4850 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B84C #4C66D2
analogous
#D2754C #D2B84C #A9D24C
triadic
#D2B84C #4CD2B8 #B84CD2
tetradic
#D2B84C #4CD275 #4C66D2 #D24CA9
square
#D2B84C #4CD275 #4C66D2 #D24CA9
split-complementary
#D2B84C #4CA9D2 #754CD2
monochromatic
#837021 #B49A2D #D2B84C #DECB7D #EBDFAE

Accessibility & contrast

On white

1.96
#D2B84C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.70
#D2B84C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B84C
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B84C#FFFFFF#000000##000000
##D2B84C1.001.9610.7010.70
#FFFFFF1.961.0021.0021.00
#00000010.7021.001.001.00
##00000010.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB43F
Deuteranopia (green-blind)
#D0BD51
Tritanopia (blue-blind)
#E2ABA1
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d2b84c;
/* rgb */ color: rgb(210, 184, 76);
/* oklch */ color: oklch(78.5% 0.130 95.7);
Tailwind
colors: {
  custom: {
    50: '#e3cd83',
    500: '#d2b84c',
    950: '#000000',
  },
}
SCSS
$custom: #d2b84c;
$custom-light: #e3cd83;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b84c",
  "rgb": {
    "r": 210,
    "g": 184,
    "b": 76
  },
  "hsl": {
    "h": 48.358,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.78471,
    "c": 0.12964,
    "h": 95.7
  },
  "luminance": 0.48504
}

Semantic roles & 50–950 ramp

primary
#D2B84C
secondary
#A1ACD9
accent
#64E345
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D2B84C

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

Preview Lab → · Contrast checker → · Palette generator →

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