#D2B544#D2B544

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

Color values

HEX#D2B544
RGBrgb(210, 181, 68)
HSLhsl(48, 61%, 55%)
HSVhsv(48, 68%, 82%)
CMYKcmyk(0%, 13.8%, 67.6%, 17.6%)
CIE-LABlab(74.30, -1.99, 59.14)
CIE-LCHlch(74.30, 59.18, 91.93°)
OKLaboklab(77.78% -0.0106 0.1331)
OKLCHoklch(77.78% 0.134 94.6)
XYZxyz(44.1478, 47.1691, 12.2469)
Luminance0.4717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B544 #4461D2
analogous
#D26E44 #D2B544 #A8D244
triadic
#D2B544 #44D2B5 #B544D2
tetradic
#D2B544 #44D26E #4461D2 #D244A8
square
#D2B544 #44D26E #4461D2 #D244A8
split-complementary
#D2B544 #44A8D2 #6E44D2
monochromatic
#7D6A1E #AF942A #D2B544 #DEC975 #EADCA7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2B544#FFFFFF#000000##000000
##D2B5441.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)
#C7B235
Deuteranopia (green-blind)
#CFBB4A
Tritanopia (blue-blind)
#E2A79E
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d2b544;
/* rgb */ color: rgb(210, 181, 68);
/* oklch */ color: oklch(77.8% 0.134 94.6);
Tailwind
colors: {
  custom: {
    50: '#e3ca7e',
    500: '#d2b544',
    950: '#000000',
  },
}
SCSS
$custom: #d2b544;
$custom-light: #e3ca7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b544",
  "rgb": {
    "r": 210,
    "g": 181,
    "b": 68
  },
  "hsl": {
    "h": 47.746,
    "s": 61.207,
    "l": 54.51
  },
  "oklch": {
    "l": 0.77781,
    "c": 0.13352,
    "h": 94.6
  },
  "luminance": 0.47167
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2B544

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

Preview Lab → · Contrast checker → · Palette generator →

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