#D2B64D#D2B64D

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

Color values

HEX#D2B64D
RGBrgb(210, 182, 77)
HSLhsl(47, 60%, 56%)
HSVhsv(47, 63%, 82%)
CMYKcmyk(0%, 13.3%, 63.3%, 17.6%)
CIE-LABlab(74.63, -1.98, 55.62)
CIE-LCHlch(74.63, 55.66, 92.04°)
OKLaboklab(78.07% -0.0095 0.127)
OKLCHoklch(78.07% 0.127 94.3)
XYZxyz(44.6479, 47.6956, 13.8742)
Luminance0.4769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B64D #4D69D2
analogous
#D2744D #D2B64D #ACD24D
triadic
#D2B64D #4DD2B6 #B64DD2
tetradic
#D2B64D #4DD274 #4D69D2 #D24DAC
square
#D2B64D #4DD274 #4D69D2 #D24DAC
split-complementary
#D2B64D #4DACD2 #744DD2
monochromatic
#836F21 #B4982E #D2B64D #DECA7E #EBDEAF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2B64D#FFFFFF#000000##000000
##D2B64D1.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)
#C8B341
Deuteranopia (green-blind)
#CFBB52
Tritanopia (blue-blind)
#E2A99F
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d2b64d;
/* rgb */ color: rgb(210, 182, 77);
/* oklch */ color: oklch(78.1% 0.127 94.3);
Tailwind
colors: {
  custom: {
    50: '#e3cb83',
    500: '#d2b64d',
    950: '#000000',
  },
}
SCSS
$custom: #d2b64d;
$custom-light: #e3cb83;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b64d",
  "rgb": {
    "r": 210,
    "g": 182,
    "b": 77
  },
  "hsl": {
    "h": 47.368,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.7807,
    "c": 0.12739,
    "h": 94.3
  },
  "luminance": 0.47693
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2B64D

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

Preview Lab → · Contrast checker → · Palette generator →

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