#D2B949#D2B949

#D2B949 is a light, vivid yellow. Relative luminance 0.489; OKLCH L 78.6% C 0.133 H 96.6°. Best body text is #000000 at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#D2B949
RGBrgb(210, 185, 73)
HSLhsl(49, 60%, 55%)
HSVhsv(49, 65%, 82%)
CMYKcmyk(0%, 11.9%, 65.2%, 17.6%)
CIE-LABlab(75.38, -3.79, 58.17)
CIE-LCHlch(75.38, 58.29, 93.73°)
OKLaboklab(78.65% -0.0152 0.1318)
OKLCHoklch(78.65% 0.133 96.6)
XYZxyz(45.1320, 48.8828, 13.3601)
Luminance0.4888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B949 #4962D2
analogous
#D27449 #D2B949 #A6D249
triadic
#D2B949 #49D2B9 #B949D2
tetradic
#D2B949 #49D274 #4962D2 #D249A6
square
#D2B949 #49D274 #4962D2 #D249A6
split-complementary
#D2B949 #49A6D2 #7449D2
monochromatic
#816F20 #B2992C #D2B949 #DECC7A #EADFAB

Accessibility & contrast

On white

1.95
#D2B949 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.78
#D2B949 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B949
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B949#FFFFFF#000000##000000
##D2B9491.001.9510.7810.78
#FFFFFF1.951.0021.0021.00
#00000010.7821.001.001.00
##00000010.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB53B
Deuteranopia (green-blind)
#D1BD4F
Tritanopia (blue-blind)
#E2ACA1
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d2b949;
/* rgb */ color: rgb(210, 185, 73);
/* oklch */ color: oklch(78.6% 0.133 96.6);
Tailwind
colors: {
  custom: {
    50: '#e3cd81',
    500: '#d2b949',
    950: '#000000',
  },
}
SCSS
$custom: #d2b949;
$custom-light: #e3cd81;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b949",
  "rgb": {
    "r": 210,
    "g": 185,
    "b": 73
  },
  "hsl": {
    "h": 49.051,
    "s": 60.352,
    "l": 55.49
  },
  "oklch": {
    "l": 0.78649,
    "c": 0.13271,
    "h": 96.6
  },
  "luminance": 0.48881
}

Semantic roles & 50–950 ramp

primary
#D2B949
secondary
#9FA9D8
accent
#61E344
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D2B949

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

Preview Lab → · Contrast checker → · Palette generator →

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