#D2B54D#D2B54D

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

Color values

HEX#D2B54D
RGBrgb(210, 181, 77)
HSLhsl(47, 60%, 56%)
HSVhsv(47, 63%, 82%)
CMYKcmyk(0%, 13.8%, 63.3%, 17.6%)
CIE-LABlab(74.37, -1.45, 55.34)
CIE-LCHlch(74.37, 55.36, 91.51°)
OKLaboklab(77.86% -0.008 0.1264)
OKLCHoklch(77.86% 0.127 93.6)
XYZxyz(44.4438, 47.2875, 13.8062)
Luminance0.4728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B54D #4D6AD2
analogous
#D2734D #D2B54D #ADD24D
triadic
#D2B54D #4DD2B5 #B54DD2
tetradic
#D2B54D #4DD273 #4D6AD2 #D24DAD
square
#D2B54D #4DD273 #4D6AD2 #D24DAD
split-complementary
#D2B54D #4DADD2 #734DD2
monochromatic
#836E21 #B4972E #D2B54D #DEC97E #EBDEAF

Accessibility & contrast

On white

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

On black

10.46
#D2B54D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B54D
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B54D#FFFFFF#000000##000000
##D2B54D1.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2b54d;
/* rgb */ color: rgb(210, 181, 77);
/* oklch */ color: oklch(77.9% 0.127 93.6);
Tailwind
colors: {
  custom: {
    50: '#e3ca83',
    500: '#d2b54d',
    950: '#000000',
  },
}
SCSS
$custom: #d2b54d;
$custom-light: #e3ca83;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b54d",
  "rgb": {
    "r": 210,
    "g": 181,
    "b": 77
  },
  "hsl": {
    "h": 46.917,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.77865,
    "c": 0.12668,
    "h": 93.6
  },
  "luminance": 0.47285
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2B54D

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

Preview Lab → · Contrast checker → · Palette generator →

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