#D2B047#D2B047

#D2B047 is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.8% C 0.128 H 91.0°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#D2B047
RGBrgb(210, 176, 71)
HSLhsl(45, 61%, 55%)
HSVhsv(45, 66%, 82%)
CMYKcmyk(0%, 16.2%, 66.2%, 17.6%)
CIE-LABlab(73.03, 0.81, 56.53)
CIE-LCHlch(73.03, 56.54, 89.18°)
OKLaboklab(76.79% -0.0022 0.1281)
OKLCHoklch(76.79% 0.128 91)
XYZxyz(43.2432, 45.2097, 12.4087)
Luminance0.4521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B047 #4769D2
analogous
#D26B47 #D2B047 #AED247
triadic
#D2B047 #47D2B0 #B047D2
tetradic
#D2B047 #47D26B #4769D2 #D247AE
square
#D2B047 #47D26B #4769D2 #D247AE
split-complementary
#D2B047 #47AED2 #6B47D2
monochromatic
#7F681F #B1902B #D2B047 #DEC578 #EADAA9

Accessibility & contrast

On white

2.09
#D2B047 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.04
#D2B047 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B047
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B047#FFFFFF#000000##000000
##D2B0471.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AE3A
Deuteranopia (green-blind)
#CBB74C
Tritanopia (blue-blind)
#E3A29A
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d2b047;
/* rgb */ color: rgb(210, 176, 71);
/* oklch */ color: oklch(76.8% 0.128 91.0);
Tailwind
colors: {
  custom: {
    50: '#e3c77f',
    500: '#d2b047',
    950: '#000000',
  },
}
SCSS
$custom: #d2b047;
$custom-light: #e3c77f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b047",
  "rgb": {
    "r": 210,
    "g": 176,
    "b": 71
  },
  "hsl": {
    "h": 45.324,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.76788,
    "c": 0.12808,
    "h": 91
  },
  "luminance": 0.45207
}

Semantic roles & 50–950 ramp

primary
#D2B047
secondary
#9DACD8
accent
#6BE444
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2B047

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

Preview Lab → · Contrast checker → · Palette generator →

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