#D2B647#D2B647

#D2B647 is a light, vivid yellow. Relative luminance 0.476; OKLCH L 78.0% C 0.132 H 94.9°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#D2B647
RGBrgb(210, 182, 71)
HSLhsl(48, 61%, 55%)
HSVhsv(48, 66%, 82%)
CMYKcmyk(0%, 13.3%, 66.2%, 17.6%)
CIE-LABlab(74.58, -2.35, 58.18)
CIE-LCHlch(74.58, 58.22, 92.31°)
OKLaboklab(78.01% -0.0113 0.1315)
OKLCHoklch(78.01% 0.132 94.9)
XYZxyz(44.4457, 47.6148, 12.8095)
Luminance0.4761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B647 #4763D2
analogous
#D27147 #D2B647 #A8D247
triadic
#D2B647 #47D2B6 #B647D2
tetradic
#D2B647 #47D271 #4763D2 #D247A8
square
#D2B647 #47D271 #4763D2 #D247A8
split-complementary
#D2B647 #47A8D2 #7147D2
monochromatic
#7F6C1F #B1962B #D2B647 #DECA78 #EADDA9

Accessibility & contrast

On white

2.00
#D2B647 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.52
#D2B647 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B647
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B647#FFFFFF#000000##000000
##D2B6471.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B239
Deuteranopia (green-blind)
#CFBB4D
Tritanopia (blue-blind)
#E2A99F
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d2b647;
/* rgb */ color: rgb(210, 182, 71);
/* oklch */ color: oklch(78.0% 0.132 94.9);
Tailwind
colors: {
  custom: {
    50: '#e3cb7f',
    500: '#d2b647',
    950: '#000000',
  },
}
SCSS
$custom: #d2b647;
$custom-light: #e3cb7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b647",
  "rgb": {
    "r": 210,
    "g": 182,
    "b": 71
  },
  "hsl": {
    "h": 47.914,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.78013,
    "c": 0.13202,
    "h": 94.9
  },
  "luminance": 0.47612
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2B647

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

Preview Lab → · Contrast checker → · Palette generator →

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