#D2B849#D2B849

#D2B849 is a light, vivid yellow. Relative luminance 0.485; OKLCH L 78.4% C 0.132 H 96.0°. Best body text is #000000 at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#D2B849
RGBrgb(210, 184, 73)
HSLhsl(49, 60%, 55%)
HSVhsv(49, 65%, 82%)
CMYKcmyk(0%, 12.4%, 65.2%, 17.6%)
CIE-LABlab(75.12, -3.27, 57.89)
CIE-LCHlch(75.12, 57.98, 93.24°)
OKLaboklab(78.44% -0.0137 0.1313)
OKLCHoklch(78.44% 0.132 96)
XYZxyz(44.9235, 48.4659, 13.2906)
Luminance0.4846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B849 #4963D2
analogous
#D27349 #D2B849 #A7D249
triadic
#D2B849 #49D2B8 #B849D2
tetradic
#D2B849 #49D273 #4963D2 #D249A7
square
#D2B849 #49D273 #4963D2 #D249A7
split-complementary
#D2B849 #49A7D2 #7349D2
monochromatic
#816E20 #B2982C #D2B849 #DECB7A #EADEAB

Accessibility & contrast

On white

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

On black

10.69
#D2B849 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B849
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B849#FFFFFF#000000##000000
##D2B8491.001.9610.6910.69
#FFFFFF1.961.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2b849;
/* rgb */ color: rgb(210, 184, 73);
/* oklch */ color: oklch(78.4% 0.132 96.0);
Tailwind
colors: {
  custom: {
    50: '#e3cd81',
    500: '#d2b849',
    950: '#000000',
  },
}
SCSS
$custom: #d2b849;
$custom-light: #e3cd81;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b849",
  "rgb": {
    "r": 210,
    "g": 184,
    "b": 73
  },
  "hsl": {
    "h": 48.613,
    "s": 60.352,
    "l": 55.49
  },
  "oklch": {
    "l": 0.78443,
    "c": 0.13197,
    "h": 96
  },
  "luminance": 0.48464
}

Semantic roles & 50–950 ramp

primary
#D2B849
secondary
#9FAAD8
accent
#63E344
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D2B849

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

Preview Lab → · Contrast checker → · Palette generator →

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