#D2B546#D2B546

#D2B546 is a light, vivid yellow. Relative luminance 0.472; OKLCH L 77.8% C 0.132 H 94.4°. Best body text is #000000 at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#D2B546
RGBrgb(210, 181, 70)
HSLhsl(48, 61%, 55%)
HSVhsv(48, 67%, 82%)
CMYKcmyk(0%, 13.8%, 66.7%, 17.6%)
CIE-LABlab(74.31, -1.88, 58.32)
CIE-LCHlch(74.31, 58.35, 91.85°)
OKLaboklab(77.8% -0.0101 0.1317)
OKLCHoklch(77.8% 0.132 94.4)
XYZxyz(44.2099, 47.1939, 12.5739)
Luminance0.4719 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B546 #4663D2
analogous
#D26F46 #D2B546 #A9D246
triadic
#D2B546 #46D2B5 #B546D2
tetradic
#D2B546 #46D26F #4663D2 #D246A9
square
#D2B546 #46D26F #4663D2 #D246A9
split-complementary
#D2B546 #46A9D2 #6F46D2
monochromatic
#7F6B1F #B0942B #D2B546 #DEC977 #EADCA8

Accessibility & contrast

On white

2.01
#D2B546 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.44
#D2B546 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B546
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B546#FFFFFF#000000##000000
##D2B5461.002.0110.4410.44
#FFFFFF2.011.0021.0021.00
#00000010.4421.001.001.00
##00000010.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B238
Deuteranopia (green-blind)
#CEBB4C
Tritanopia (blue-blind)
#E2A79E
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d2b546;
/* rgb */ color: rgb(210, 181, 70);
/* oklch */ color: oklch(77.8% 0.132 94.4);
Tailwind
colors: {
  custom: {
    50: '#e3ca7f',
    500: '#d2b546',
    950: '#000000',
  },
}
SCSS
$custom: #d2b546;
$custom-light: #e3ca7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b546",
  "rgb": {
    "r": 210,
    "g": 181,
    "b": 70
  },
  "hsl": {
    "h": 47.571,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.77799,
    "c": 0.13207,
    "h": 94.4
  },
  "luminance": 0.47192
}

Semantic roles & 50–950 ramp

primary
#D2B546
secondary
#9CA9D7
accent
#65E444
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2B546

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

Preview Lab → · Contrast checker → · Palette generator →

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