#D2B64B#D2B64B

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

Color values

HEX#D2B64B
RGBrgb(210, 182, 75)
HSLhsl(48, 60%, 56%)
HSVhsv(48, 64%, 82%)
CMYKcmyk(0%, 13.3%, 64.3%, 17.6%)
CIE-LABlab(74.61, -2.10, 56.48)
CIE-LCHlch(74.61, 56.52, 92.13°)
OKLaboklab(78.05% -0.0101 0.1286)
OKLCHoklch(78.05% 0.129 94.5)
XYZxyz(44.5784, 47.6678, 13.5080)
Luminance0.4767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B64B #4B67D2
analogous
#D2724B #D2B64B #AAD24B
triadic
#D2B64B #4BD2B6 #B64BD2
tetradic
#D2B64B #4BD272 #4B67D2 #D24BAA
square
#D2B64B #4BD272 #4B67D2 #D24BAA
split-complementary
#D2B64B #4BAAD2 #724BD2
monochromatic
#826E21 #B3972D #D2B64B #DECA7C #EADEAD

Accessibility & contrast

On white

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

On black

10.53
#D2B64B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B64B
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B64B#FFFFFF#000000##000000
##D2B64B1.001.9910.5310.53
#FFFFFF1.991.0021.0021.00
#00000010.5321.001.001.00
##00000010.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2b64b;
/* rgb */ color: rgb(210, 182, 75);
/* oklch */ color: oklch(78.1% 0.129 94.5);
Tailwind
colors: {
  custom: {
    50: '#e3cb82',
    500: '#d2b64b',
    950: '#000000',
  },
}
SCSS
$custom: #d2b64b;
$custom-light: #e3cb82;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b64b",
  "rgb": {
    "r": 210,
    "g": 182,
    "b": 75
  },
  "hsl": {
    "h": 47.556,
    "s": 60,
    "l": 55.882
  },
  "oklch": {
    "l": 0.78051,
    "c": 0.12897,
    "h": 94.5
  },
  "luminance": 0.47666
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2B64B

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

Preview Lab → · Contrast checker → · Palette generator →

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