#D2B54B#D2B54B

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

Color values

HEX#D2B54B
RGBrgb(210, 181, 75)
HSLhsl(47, 60%, 56%)
HSVhsv(47, 64%, 82%)
CMYKcmyk(0%, 13.8%, 64.3%, 17.6%)
CIE-LABlab(74.36, -1.58, 56.20)
CIE-LCHlch(74.36, 56.23, 91.61°)
OKLaboklab(77.85% -0.0086 0.128)
OKLCHoklch(77.85% 0.128 93.9)
XYZxyz(44.3743, 47.2597, 13.4400)
Luminance0.4726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B54B #4B68D2
analogous
#D2714B #D2B54B #ABD24B
triadic
#D2B54B #4BD2B5 #B54BD2
tetradic
#D2B54B #4BD271 #4B68D2 #D24BAB
square
#D2B54B #4BD271 #4B68D2 #D24BAB
split-complementary
#D2B54B #4BABD2 #714BD2
monochromatic
#826D21 #B3962D #D2B54B #DEC97C #EADDAD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2B54B#FFFFFF#000000##000000
##D2B54B1.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)
#C7B23F
Deuteranopia (green-blind)
#CEBB50
Tritanopia (blue-blind)
#E2A89E
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d2b54b;
/* rgb */ color: rgb(210, 181, 75);
/* oklch */ color: oklch(77.8% 0.128 93.9);
Tailwind
colors: {
  custom: {
    50: '#e3ca82',
    500: '#d2b54b',
    950: '#000000',
  },
}
SCSS
$custom: #d2b54b;
$custom-light: #e3ca82;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b54b",
  "rgb": {
    "r": 210,
    "g": 181,
    "b": 75
  },
  "hsl": {
    "h": 47.111,
    "s": 60,
    "l": 55.882
  },
  "oklch": {
    "l": 0.77846,
    "c": 0.12827,
    "h": 93.9
  },
  "luminance": 0.47257
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2B54B

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

Preview Lab → · Contrast checker → · Palette generator →

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