#D2B555#D2B555

#D2B555 is a light, vivid yellow. Relative luminance 0.474; OKLCH L 78.0% C 0.120 H 92.6°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#D2B555
RGBrgb(210, 181, 85)
HSLhsl(46, 58%, 58%)
HSVhsv(46, 60%, 82%)
CMYKcmyk(0%, 13.8%, 59.5%, 17.6%)
CIE-LABlab(74.45, -0.91, 51.77)
CIE-LCHlch(74.45, 51.78, 91.01°)
OKLaboklab(77.95% -0.0055 0.1199)
OKLCHoklch(77.95% 0.12 92.6)
XYZxyz(44.7439, 47.4075, 15.3863)
Luminance0.4741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B555 #5572D2
analogous
#D27655 #D2B555 #B0D255
triadic
#D2B555 #55D2B5 #B555D2
tetradic
#D2B555 #55D276 #5572D2 #D255B0
square
#D2B555 #55D276 #5572D2 #D255B0
split-complementary
#D2B555 #55B0D2 #7655D2
monochromatic
#887124 #B99931 #D2B555 #DFCA85 #ECDFB6

Accessibility & contrast

On white

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

On black

10.48
#D2B555 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B555
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B555#FFFFFF#000000##000000
##D2B5551.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B24B
Deuteranopia (green-blind)
#CDBB59
Tritanopia (blue-blind)
#E2A8A0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d2b555;
/* rgb */ color: rgb(210, 181, 85);
/* oklch */ color: oklch(78.0% 0.120 92.6);
Tailwind
colors: {
  custom: {
    50: '#e3ca88',
    500: '#d2b555',
    950: '#000000',
  },
}
SCSS
$custom: #d2b555;
$custom-light: #e3ca88;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b555",
  "rgb": {
    "r": 210,
    "g": 181,
    "b": 85
  },
  "hsl": {
    "h": 46.08,
    "s": 58.14,
    "l": 57.843
  },
  "oklch": {
    "l": 0.7795,
    "c": 0.12003,
    "h": 92.6
  },
  "luminance": 0.47405
}

Semantic roles & 50–950 ramp

primary
#D2B555
secondary
#A8B4DA
accent
#6AE146
background
#FEFCF8
surface
#FDF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D2B555

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

Preview Lab → · Contrast checker → · Palette generator →

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