#D2B747#D2B747

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

Color values

HEX#D2B747
RGBrgb(210, 183, 71)
HSLhsl(48, 61%, 55%)
HSVhsv(48, 66%, 82%)
CMYKcmyk(0%, 12.9%, 66.2%, 17.6%)
CIE-LABlab(74.84, -2.87, 58.45)
CIE-LCHlch(74.84, 58.52, 92.81°)
OKLaboklab(78.22% -0.0128 0.1321)
OKLCHoklch(78.22% 0.133 95.5)
XYZxyz(44.6513, 48.0258, 12.8780)
Luminance0.4802 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B747 #4762D2
analogous
#D27147 #D2B747 #A8D247
triadic
#D2B747 #47D2B7 #B747D2
tetradic
#D2B747 #47D271 #4762D2 #D247A8
square
#D2B747 #47D271 #4762D2 #D247A8
split-complementary
#D2B747 #47A8D2 #7147D2
monochromatic
#7F6D1F #B1972B #D2B747 #DECA78 #EADDA9

Accessibility & contrast

On white

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

On black

10.60
#D2B747 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B747
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B747#FFFFFF#000000##000000
##D2B7471.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2b747;
/* rgb */ color: rgb(210, 183, 71);
/* oklch */ color: oklch(78.2% 0.133 95.5);
Tailwind
colors: {
  custom: {
    50: '#e3cc80',
    500: '#d2b747',
    950: '#000000',
  },
}
SCSS
$custom: #d2b747;
$custom-light: #e3cc80;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b747",
  "rgb": {
    "r": 210,
    "g": 183,
    "b": 71
  },
  "hsl": {
    "h": 48.345,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.78219,
    "c": 0.13274,
    "h": 95.5
  },
  "luminance": 0.48024
}

Semantic roles & 50–950 ramp

primary
#D2B747
secondary
#9DA9D8
accent
#63E444
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2B747

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

Preview Lab → · Contrast checker → · Palette generator →

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