#D2B84E#D2B84E

#D2B84E is a light, vivid yellow. Relative luminance 0.485; OKLCH L 78.5% C 0.128 H 95.5°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#D2B84E
RGBrgb(210, 184, 78)
HSLhsl(48, 59%, 56%)
HSVhsv(48, 63%, 82%)
CMYKcmyk(0%, 12.4%, 62.9%, 17.6%)
CIE-LABlab(75.16, -2.96, 55.75)
CIE-LCHlch(75.16, 55.83, 93.04°)
OKLaboklab(78.49% -0.0122 0.1275)
OKLCHoklch(78.49% 0.128 95.5)
XYZxyz(45.0960, 48.5349, 14.1991)
Luminance0.4853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B84E #4E68D2
analogous
#D2764E #D2B84E #AAD24E
triadic
#D2B84E #4ED2B8 #B84ED2
tetradic
#D2B84E #4ED276 #4E68D2 #D24EAA
square
#D2B84E #4ED276 #4E68D2 #D24EAA
split-complementary
#D2B84E #4EAAD2 #764ED2
monochromatic
#847122 #B59A2E #D2B84E #DECC7F #EBDFB0

Accessibility & contrast

On white

1.96
#D2B84E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.71
#D2B84E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B84E
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B84E#FFFFFF#000000##000000
##D2B84E1.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B442
Deuteranopia (green-blind)
#D0BD53
Tritanopia (blue-blind)
#E2ABA1
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d2b84e;
/* rgb */ color: rgb(210, 184, 78);
/* oklch */ color: oklch(78.5% 0.128 95.5);
Tailwind
colors: {
  custom: {
    50: '#e3cd84',
    500: '#d2b84e',
    950: '#000000',
  },
}
SCSS
$custom: #d2b84e;
$custom-light: #e3cd84;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b84e",
  "rgb": {
    "r": 210,
    "g": 184,
    "b": 78
  },
  "hsl": {
    "h": 48.182,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.78491,
    "c": 0.12805,
    "h": 95.5
  },
  "luminance": 0.48533
}

Semantic roles & 50–950 ramp

primary
#D2B84E
secondary
#A3ADD9
accent
#64E345
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D2B84E

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

Preview Lab → · Contrast checker → · Palette generator →

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