#D2B543#D2B543

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

Color values

HEX#D2B543
RGBrgb(210, 181, 67)
HSLhsl(48, 61%, 54%)
HSVhsv(48, 68%, 82%)
CMYKcmyk(0%, 13.8%, 68.1%, 17.6%)
CIE-LABlab(74.29, -2.05, 59.55)
CIE-LCHlch(74.29, 59.59, 91.97°)
OKLaboklab(77.77% -0.0109 0.1338)
OKLCHoklch(77.77% 0.134 94.7)
XYZxyz(44.1175, 47.1570, 12.0875)
Luminance0.4716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B543 #4360D2
analogous
#D26E43 #D2B543 #A8D243
triadic
#D2B543 #43D2B5 #B543D2
tetradic
#D2B543 #43D26E #4360D2 #D243A8
square
#D2B543 #43D26E #4360D2 #D243A8
split-complementary
#D2B543 #43A8D2 #6E43D2
monochromatic
#7D6A1E #AE932A #D2B543 #DEC874 #EADCA6

Accessibility & contrast

On white

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

On black

10.43
#D2B543 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B543
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B543#FFFFFF#000000##000000
##D2B5431.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2b543;
/* rgb */ color: rgb(210, 181, 67);
/* oklch */ color: oklch(77.8% 0.134 94.7);
Tailwind
colors: {
  custom: {
    50: '#e3ca7d',
    500: '#d2b543',
    950: '#000000',
  },
}
SCSS
$custom: #d2b543;
$custom-light: #e3ca7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b543",
  "rgb": {
    "r": 210,
    "g": 181,
    "b": 67
  },
  "hsl": {
    "h": 47.832,
    "s": 61.373,
    "l": 54.314
  },
  "oklch": {
    "l": 0.77773,
    "c": 0.13424,
    "h": 94.7
  },
  "luminance": 0.47155
}

Semantic roles & 50–950 ramp

primary
#D2B543
secondary
#9AA6D7
accent
#64E443
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2B543

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

Preview Lab → · Contrast checker → · Palette generator →

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