#D2B749#D2B749

#D2B749 is a light, vivid yellow. Relative luminance 0.480; OKLCH L 78.2% C 0.131 H 95.3°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#D2B749
RGBrgb(210, 183, 73)
HSLhsl(48, 60%, 55%)
HSVhsv(48, 65%, 82%)
CMYKcmyk(0%, 12.9%, 65.2%, 17.6%)
CIE-LABlab(74.86, -2.75, 57.61)
CIE-LCHlch(74.86, 57.68, 92.73°)
OKLaboklab(78.24% -0.0122 0.1307)
OKLCHoklch(78.24% 0.131 95.3)
XYZxyz(44.7165, 48.0519, 13.2216)
Luminance0.4805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B749 #4964D2
analogous
#D27249 #D2B749 #A8D249
triadic
#D2B749 #49D2B7 #B749D2
tetradic
#D2B749 #49D272 #4964D2 #D249A8
square
#D2B749 #49D272 #4964D2 #D249A8
split-complementary
#D2B749 #49A8D2 #7249D2
monochromatic
#816E20 #B2972C #D2B749 #DECA7A #EADEAB

Accessibility & contrast

On white

1.98
#D2B749 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.61
#D2B749 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B749
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B749#FFFFFF#000000##000000
##D2B7491.001.9810.6110.61
#FFFFFF1.981.0021.0021.00
#00000010.6121.001.001.00
##00000010.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B33C
Deuteranopia (green-blind)
#D0BC4F
Tritanopia (blue-blind)
#E2AAA0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d2b749;
/* rgb */ color: rgb(210, 183, 73);
/* oklch */ color: oklch(78.2% 0.131 95.3);
Tailwind
colors: {
  custom: {
    50: '#e3cc81',
    500: '#d2b749',
    950: '#000000',
  },
}
SCSS
$custom: #d2b749;
$custom-light: #e3cc81;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b749",
  "rgb": {
    "r": 210,
    "g": 183,
    "b": 73
  },
  "hsl": {
    "h": 48.175,
    "s": 60.352,
    "l": 55.49
  },
  "oklch": {
    "l": 0.78237,
    "c": 0.13123,
    "h": 95.3
  },
  "luminance": 0.4805
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2B749

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

Preview Lab → · Contrast checker → · Palette generator →

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