#D2B247#D2B247

#D2B247 is a light, vivid yellow. Relative luminance 0.460; OKLCH L 77.2% C 0.129 H 92.3°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#D2B247
RGBrgb(210, 178, 71)
HSLhsl(46, 61%, 55%)
HSVhsv(46, 66%, 82%)
CMYKcmyk(0%, 15.2%, 66.2%, 17.6%)
CIE-LABlab(73.55, -0.25, 57.08)
CIE-LCHlch(73.55, 57.08, 90.25°)
OKLaboklab(77.2% -0.0053 0.1292)
OKLCHoklch(77.2% 0.129 92.3)
XYZxyz(43.6382, 45.9998, 12.5403)
Luminance0.4600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B247 #4767D2
analogous
#D26C47 #D2B247 #ADD247
triadic
#D2B247 #47D2B2 #B247D2
tetradic
#D2B247 #47D26C #4767D2 #D247AD
square
#D2B247 #47D26C #4767D2 #D247AD
split-complementary
#D2B247 #47ADD2 #6C47D2
monochromatic
#7F691F #B1922B #D2B247 #DEC778 #EADBA9

Accessibility & contrast

On white

2.06
#D2B247 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#D2B247 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B247
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B247#FFFFFF#000000##000000
##D2B2471.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF3A
Deuteranopia (green-blind)
#CCB94C
Tritanopia (blue-blind)
#E2A49B
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d2b247;
/* rgb */ color: rgb(210, 178, 71);
/* oklch */ color: oklch(77.2% 0.129 92.3);
Tailwind
colors: {
  custom: {
    50: '#e3c87f',
    500: '#d2b247',
    950: '#000000',
  },
}
SCSS
$custom: #d2b247;
$custom-light: #e3c87f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b247",
  "rgb": {
    "r": 210,
    "g": 178,
    "b": 71
  },
  "hsl": {
    "h": 46.187,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.77195,
    "c": 0.12933,
    "h": 92.3
  },
  "luminance": 0.45997
}

Semantic roles & 50–950 ramp

primary
#D2B247
secondary
#9DABD8
accent
#69E444
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2B247

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

Preview Lab → · Contrast checker → · Palette generator →

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