#D2B547#D2B547

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

Color values

HEX#D2B547
RGBrgb(210, 181, 71)
HSLhsl(47, 61%, 55%)
HSVhsv(47, 66%, 82%)
CMYKcmyk(0%, 13.8%, 66.2%, 17.6%)
CIE-LABlab(74.32, -1.82, 57.90)
CIE-LCHlch(74.32, 57.93, 91.80°)
OKLaboklab(77.81% -0.0098 0.131)
OKLCHoklch(77.81% 0.131 94.3)
XYZxyz(44.2417, 47.2066, 12.7415)
Luminance0.4720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B547 #4764D2
analogous
#D26F47 #D2B547 #AAD247
triadic
#D2B547 #47D2B5 #B547D2
tetradic
#D2B547 #47D26F #4764D2 #D247AA
square
#D2B547 #47D26F #4764D2 #D247AA
split-complementary
#D2B547 #47AAD2 #6F47D2
monochromatic
#7F6B1F #B1952B #D2B547 #DEC978 #EADDA9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2B547#FFFFFF#000000##000000
##D2B5471.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)
#C7B239
Deuteranopia (green-blind)
#CEBB4D
Tritanopia (blue-blind)
#E2A79E
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d2b547;
/* rgb */ color: rgb(210, 181, 71);
/* oklch */ color: oklch(77.8% 0.131 94.3);
Tailwind
colors: {
  custom: {
    50: '#e3ca7f',
    500: '#d2b547',
    950: '#000000',
  },
}
SCSS
$custom: #d2b547;
$custom-light: #e3ca7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b547",
  "rgb": {
    "r": 210,
    "g": 181,
    "b": 71
  },
  "hsl": {
    "h": 47.482,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.77808,
    "c": 0.13133,
    "h": 94.3
  },
  "luminance": 0.47204
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2B547

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

Preview Lab → · Contrast checker → · Palette generator →

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