#D2B84B#D2B84B

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

Color values

HEX#D2B84B
RGBrgb(210, 184, 75)
HSLhsl(48, 60%, 56%)
HSVhsv(48, 64%, 82%)
CMYKcmyk(0%, 12.4%, 64.3%, 17.6%)
CIE-LABlab(75.13, -3.15, 57.04)
CIE-LCHlch(75.13, 57.13, 93.16°)
OKLaboklab(78.46% -0.0131 0.1298)
OKLCHoklch(78.46% 0.13 95.8)
XYZxyz(44.9909, 48.4928, 13.6455)
Luminance0.4849 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B84B #4B65D2
analogous
#D2744B #D2B84B #A9D24B
triadic
#D2B84B #4BD2B8 #B84BD2
tetradic
#D2B84B #4BD274 #4B65D2 #D24BA9
square
#D2B84B #4BD274 #4B65D2 #D24BA9
split-complementary
#D2B84B #4BA9D2 #744BD2
monochromatic
#826F21 #B3992D #D2B84B #DECB7C #EADFAD

Accessibility & contrast

On white

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

On black

10.70
#D2B84B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B84B
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B84B#FFFFFF#000000##000000
##D2B84B1.001.9610.7010.70
#FFFFFF1.961.0021.0021.00
#00000010.7021.001.001.00
##00000010.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2b84b;
/* rgb */ color: rgb(210, 184, 75);
/* oklch */ color: oklch(78.5% 0.130 95.8);
Tailwind
colors: {
  custom: {
    50: '#e3cd82',
    500: '#d2b84b',
    950: '#000000',
  },
}
SCSS
$custom: #d2b84b;
$custom-light: #e3cd82;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b84b",
  "rgb": {
    "r": 210,
    "g": 184,
    "b": 75
  },
  "hsl": {
    "h": 48.444,
    "s": 60,
    "l": 55.882
  },
  "oklch": {
    "l": 0.78462,
    "c": 0.13042,
    "h": 95.8
  },
  "luminance": 0.48491
}

Semantic roles & 50–950 ramp

primary
#D2B84B
secondary
#A0ABD8
accent
#63E345
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D2B84B

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

Preview Lab → · Contrast checker → · Palette generator →

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