#D2B557#D2B557

#D2B557 is a light, moderate yellow. Relative luminance 0.474; OKLCH L 78.0% C 0.118 H 92.3°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#D2B557
RGBrgb(210, 181, 87)
HSLhsl(46, 58%, 58%)
HSVhsv(46, 59%, 82%)
CMYKcmyk(0%, 13.8%, 58.6%, 17.6%)
CIE-LABlab(74.47, -0.77, 50.86)
CIE-LCHlch(74.47, 50.87, 90.86°)
OKLaboklab(77.97% -0.0048 0.1182)
OKLCHoklch(77.97% 0.118 92.3)
XYZxyz(44.8245, 47.4398, 15.8107)
Luminance0.4744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B557 #5774D2
analogous
#D27757 #D2B557 #B1D257
triadic
#D2B557 #57D2B5 #B557D2
tetradic
#D2B557 #57D277 #5774D2 #D257B1
square
#D2B557 #57D277 #5774D2 #D257B1
split-complementary
#D2B557 #57B1D2 #7757D2
monochromatic
#8A7225 #BA9A32 #D2B557 #DFCA87 #ECE0B8

Accessibility & contrast

On white

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

On black

10.49
#D2B557 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B557
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B557#FFFFFF#000000##000000
##D2B5571.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B24E
Deuteranopia (green-blind)
#CDBB5B
Tritanopia (blue-blind)
#E1A8A0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d2b557;
/* rgb */ color: rgb(210, 181, 87);
/* oklch */ color: oklch(78.0% 0.118 92.3);
Tailwind
colors: {
  custom: {
    50: '#e3ca89',
    500: '#d2b557',
    950: '#000000',
  },
}
SCSS
$custom: #d2b557;
$custom-light: #e3ca89;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b557",
  "rgb": {
    "r": 210,
    "g": 181,
    "b": 87
  },
  "hsl": {
    "h": 45.854,
    "s": 57.746,
    "l": 58.235
  },
  "oklch": {
    "l": 0.77973,
    "c": 0.11828,
    "h": 92.3
  },
  "luminance": 0.47438
}

Semantic roles & 50–950 ramp

primary
#D2B557
secondary
#AAB5DB
accent
#6BE147
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D2B557

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

Preview Lab → · Contrast checker → · Palette generator →

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