#D2B64C#D2B64C

#D2B64C is a light, vivid yellow. Relative luminance 0.477; OKLCH L 78.1% C 0.128 H 94.4°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#D2B64C
RGBrgb(210, 182, 76)
HSLhsl(47, 60%, 56%)
HSVhsv(47, 64%, 82%)
CMYKcmyk(0%, 13.3%, 63.8%, 17.6%)
CIE-LABlab(74.62, -2.04, 56.05)
CIE-LCHlch(74.62, 56.09, 92.09°)
OKLaboklab(78.06% -0.0098 0.1278)
OKLCHoklch(78.06% 0.128 94.4)
XYZxyz(44.6129, 47.6816, 13.6897)
Luminance0.4768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B64C #4C68D2
analogous
#D2734C #D2B64C #ABD24C
triadic
#D2B64C #4CD2B6 #B64CD2
tetradic
#D2B64C #4CD273 #4C68D2 #D24CAB
square
#D2B64C #4CD273 #4C68D2 #D24CAB
split-complementary
#D2B64C #4CABD2 #734CD2
monochromatic
#836E21 #B4982D #D2B64C #DECA7D #EBDEAE

Accessibility & contrast

On white

1.99
#D2B64C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.54
#D2B64C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B64C
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B64C#FFFFFF#000000##000000
##D2B64C1.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B340
Deuteranopia (green-blind)
#CFBB51
Tritanopia (blue-blind)
#E2A99F
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d2b64c;
/* rgb */ color: rgb(210, 182, 76);
/* oklch */ color: oklch(78.1% 0.128 94.4);
Tailwind
colors: {
  custom: {
    50: '#e3cb82',
    500: '#d2b64c',
    950: '#000000',
  },
}
SCSS
$custom: #d2b64c;
$custom-light: #e3cb82;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b64c",
  "rgb": {
    "r": 210,
    "g": 182,
    "b": 76
  },
  "hsl": {
    "h": 47.463,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.7806,
    "c": 0.12819,
    "h": 94.4
  },
  "luminance": 0.47679
}

Semantic roles & 50–950 ramp

primary
#D2B64C
secondary
#A1ADD9
accent
#66E345
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D2B64C

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

Preview Lab → · Contrast checker → · Palette generator →

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