#D2B545#D2B545

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

Color values

HEX#D2B545
RGBrgb(210, 181, 69)
HSLhsl(48, 61%, 55%)
HSVhsv(48, 67%, 82%)
CMYKcmyk(0%, 13.8%, 67.1%, 17.6%)
CIE-LABlab(74.31, -1.94, 58.73)
CIE-LCHlch(74.31, 58.76, 91.89°)
OKLaboklab(77.79% -0.0104 0.1324)
OKLCHoklch(77.79% 0.133 94.5)
XYZxyz(44.1786, 47.1814, 12.4090)
Luminance0.4718 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B545 #4562D2
analogous
#D26F45 #D2B545 #A8D245
triadic
#D2B545 #45D2B5 #B545D2
tetradic
#D2B545 #45D26F #4562D2 #D245A8
square
#D2B545 #45D26F #4562D2 #D245A8
split-complementary
#D2B545 #45A8D2 #6F45D2
monochromatic
#7E6A1F #AF942A #D2B545 #DEC976 #EADCA8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2B545#FFFFFF#000000##000000
##D2B5451.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)
#C7B237
Deuteranopia (green-blind)
#CFBB4B
Tritanopia (blue-blind)
#E2A79E
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d2b545;
/* rgb */ color: rgb(210, 181, 69);
/* oklch */ color: oklch(77.8% 0.133 94.5);
Tailwind
colors: {
  custom: {
    50: '#e3ca7e',
    500: '#d2b545',
    950: '#000000',
  },
}
SCSS
$custom: #d2b545;
$custom-light: #e3ca7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b545",
  "rgb": {
    "r": 210,
    "g": 181,
    "b": 69
  },
  "hsl": {
    "h": 47.66,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.7779,
    "c": 0.1328,
    "h": 94.5
  },
  "luminance": 0.47179
}

Semantic roles & 50–950 ramp

primary
#D2B545
secondary
#9CA8D7
accent
#65E444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2B545

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

Preview Lab → · Contrast checker → · Palette generator →

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