#D2B847#D2B847

#D2B847 is a light, vivid yellow. Relative luminance 0.484; OKLCH L 78.4% C 0.133 H 96.1°. Best body text is #000000 at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#D2B847
RGBrgb(210, 184, 71)
HSLhsl(49, 61%, 55%)
HSVhsv(49, 66%, 82%)
CMYKcmyk(0%, 12.4%, 66.2%, 17.6%)
CIE-LABlab(75.10, -3.39, 58.72)
CIE-LCHlch(75.10, 58.82, 93.30°)
OKLaboklab(78.43% -0.0143 0.1327)
OKLCHoklch(78.43% 0.133 96.1)
XYZxyz(44.8583, 48.4398, 12.9470)
Luminance0.4844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B847 #4761D2
analogous
#D27247 #D2B847 #A7D247
triadic
#D2B847 #47D2B8 #B847D2
tetradic
#D2B847 #47D272 #4761D2 #D247A7
square
#D2B847 #47D272 #4761D2 #D247A7
split-complementary
#D2B847 #47A7D2 #7247D2
monochromatic
#7F6D1F #B1982B #D2B847 #DECB78 #EADEA9

Accessibility & contrast

On white

1.96
#D2B847 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.69
#D2B847 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B847
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B847#FFFFFF#000000##000000
##D2B8471.001.9610.6910.69
#FFFFFF1.961.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB439
Deuteranopia (green-blind)
#D1BC4D
Tritanopia (blue-blind)
#E2ABA0
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d2b847;
/* rgb */ color: rgb(210, 184, 71);
/* oklch */ color: oklch(78.4% 0.133 96.1);
Tailwind
colors: {
  custom: {
    50: '#e3cd80',
    500: '#d2b847',
    950: '#000000',
  },
}
SCSS
$custom: #d2b847;
$custom-light: #e3cd80;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b847",
  "rgb": {
    "r": 210,
    "g": 184,
    "b": 71
  },
  "hsl": {
    "h": 48.777,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.78425,
    "c": 0.13347,
    "h": 96.1
  },
  "luminance": 0.48438
}

Semantic roles & 50–950 ramp

primary
#D2B847
secondary
#9DA8D8
accent
#62E444
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2B847

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

Preview Lab → · Contrast checker → · Palette generator →

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