#D2B147#D2B147

#D2B147 is a light, vivid yellow. Relative luminance 0.456; OKLCH L 77.0% C 0.129 H 91.7°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#D2B147
RGBrgb(210, 177, 71)
HSLhsl(46, 61%, 55%)
HSVhsv(46, 66%, 82%)
CMYKcmyk(0%, 15.7%, 66.2%, 17.6%)
CIE-LABlab(73.29, 0.28, 56.81)
CIE-LCHlch(73.29, 56.81, 89.72°)
OKLaboklab(76.99% -0.0037 0.1286)
OKLCHoklch(76.99% 0.129 91.7)
XYZxyz(43.4400, 45.6033, 12.4743)
Luminance0.4560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B147 #4768D2
analogous
#D26B47 #D2B147 #AED247
triadic
#D2B147 #47D2B1 #B147D2
tetradic
#D2B147 #47D26B #4768D2 #D247AE
square
#D2B147 #47D26B #4768D2 #D247AE
split-complementary
#D2B147 #47AED2 #6B47D2
monochromatic
#7F691F #B1912B #D2B147 #DEC678 #EADBA9

Accessibility & contrast

On white

2.08
#D2B147 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.12
#D2B147 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B147
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B147#FFFFFF#000000##000000
##D2B1471.002.0810.1210.12
#FFFFFF2.081.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE3A
Deuteranopia (green-blind)
#CCB84C
Tritanopia (blue-blind)
#E2A39B
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d2b147;
/* rgb */ color: rgb(210, 177, 71);
/* oklch */ color: oklch(77.0% 0.129 91.7);
Tailwind
colors: {
  custom: {
    50: '#e3c87f',
    500: '#d2b147',
    950: '#000000',
  },
}
SCSS
$custom: #d2b147;
$custom-light: #e3c87f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b147",
  "rgb": {
    "r": 210,
    "g": 177,
    "b": 71
  },
  "hsl": {
    "h": 45.755,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.76991,
    "c": 0.12869,
    "h": 91.7
  },
  "luminance": 0.45601
}

Semantic roles & 50–950 ramp

primary
#D2B147
secondary
#9DABD8
accent
#6AE444
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2B147

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

Preview Lab → · Contrast checker → · Palette generator →

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