#D2B54C#D2B54C

#D2B54C is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.9% C 0.127 H 93.7°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#D2B54C
RGBrgb(210, 181, 76)
HSLhsl(47, 60%, 56%)
HSVhsv(47, 64%, 82%)
CMYKcmyk(0%, 13.8%, 63.8%, 17.6%)
CIE-LABlab(74.36, -1.52, 55.77)
CIE-LCHlch(74.36, 55.79, 91.56°)
OKLaboklab(77.85% -0.0083 0.1272)
OKLCHoklch(77.85% 0.127 93.7)
XYZxyz(44.4088, 47.2735, 13.6216)
Luminance0.4727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B54C #4C69D2
analogous
#D2724C #D2B54C #ACD24C
triadic
#D2B54C #4CD2B5 #B54CD2
tetradic
#D2B54C #4CD272 #4C69D2 #D24CAC
square
#D2B54C #4CD272 #4C69D2 #D24CAC
split-complementary
#D2B54C #4CACD2 #724CD2
monochromatic
#836E21 #B4972D #D2B54C #DEC97D #EBDDAE

Accessibility & contrast

On white

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

On black

10.45
#D2B54C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B54C
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B54C#FFFFFF#000000##000000
##D2B54C1.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B240
Deuteranopia (green-blind)
#CEBB51
Tritanopia (blue-blind)
#E2A89F
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d2b54c;
/* rgb */ color: rgb(210, 181, 76);
/* oklch */ color: oklch(77.9% 0.127 93.7);
Tailwind
colors: {
  custom: {
    50: '#e3ca82',
    500: '#d2b54c',
    950: '#000000',
  },
}
SCSS
$custom: #d2b54c;
$custom-light: #e3ca82;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b54c",
  "rgb": {
    "r": 210,
    "g": 181,
    "b": 76
  },
  "hsl": {
    "h": 47.015,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.77855,
    "c": 0.12748,
    "h": 93.7
  },
  "luminance": 0.47271
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2B54C

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

Preview Lab → · Contrast checker → · Palette generator →

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