#D2BB47#D2BB47

#D2BB47 is a light, vivid yellow. Relative luminance 0.497; OKLCH L 79.0% C 0.136 H 97.9°. Best body text is #000000 at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#D2BB47
RGBrgb(210, 187, 71)
HSLhsl(50, 61%, 55%)
HSVhsv(50, 66%, 82%)
CMYKcmyk(0%, 11%, 66.2%, 17.6%)
CIE-LABlab(75.88, -4.95, 59.54)
CIE-LCHlch(75.88, 59.75, 94.75°)
OKLaboklab(79.04% -0.0188 0.1344)
OKLCHoklch(79.04% 0.136 97.9)
XYZxyz(45.4881, 49.6994, 13.1569)
Luminance0.4970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BB47 #475ED2
analogous
#D27547 #D2BB47 #A3D247
triadic
#D2BB47 #47D2BB #BB47D2
tetradic
#D2BB47 #47D275 #475ED2 #D247A3
square
#D2BB47 #47D275 #475ED2 #D247A3
split-complementary
#D2BB47 #47A3D2 #7547D2
monochromatic
#7F701F #B19B2B #D2BB47 #DECD78 #EADFA9

Accessibility & contrast

On white

1.92
#D2BB47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.94
#D2BB47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BB47
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BB47#FFFFFF#000000##000000
##D2BB471.001.9210.9410.94
#FFFFFF1.921.0021.0021.00
#00000010.9421.001.001.00
##00000010.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB738
Deuteranopia (green-blind)
#D3BE4D
Tritanopia (blue-blind)
#E2AEA3
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d2bb47;
/* rgb */ color: rgb(210, 187, 71);
/* oklch */ color: oklch(79.0% 0.136 97.9);
Tailwind
colors: {
  custom: {
    50: '#e3cf80',
    500: '#d2bb47',
    950: '#000000',
  },
}
SCSS
$custom: #d2bb47;
$custom-light: #e3cf80;
$custom-dark: #000000;
JSON
{
  "hex": "#d2bb47",
  "rgb": {
    "r": 210,
    "g": 187,
    "b": 71
  },
  "hsl": {
    "h": 50.072,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.79044,
    "c": 0.13574,
    "h": 97.9
  },
  "luminance": 0.49697
}

Semantic roles & 50–950 ramp

primary
#D2BB47
secondary
#9DA7D8
accent
#5EE444
background
#FEFCF8
surface
#FDF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D2BB47

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

Preview Lab → · Contrast checker → · Palette generator →

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