#D2B855#D2B855

#D2B855 is a light, vivid yellow. Relative luminance 0.486; OKLCH L 78.6% C 0.122 H 94.7°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#D2B855
RGBrgb(210, 184, 85)
HSLhsl(48, 58%, 58%)
HSVhsv(48, 60%, 82%)
CMYKcmyk(0%, 12.4%, 59.5%, 17.6%)
CIE-LABlab(75.23, -2.49, 52.65)
CIE-LCHlch(75.23, 52.71, 92.70°)
OKLaboklab(78.56% -0.01 0.1218)
OKLCHoklch(78.56% 0.122 94.7)
XYZxyz(45.3604, 48.6407, 15.5919)
Luminance0.4864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B855 #556FD2
analogous
#D27955 #D2B855 #ADD255
triadic
#D2B855 #55D2B8 #B855D2
tetradic
#D2B855 #55D279 #556FD2 #D255AD
square
#D2B855 #55D279 #556FD2 #D255AD
split-complementary
#D2B855 #55ADD2 #7955D2
monochromatic
#887424 #B99D31 #D2B855 #DFCC85 #ECE0B6

Accessibility & contrast

On white

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

On black

10.73
#D2B855 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B855
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B855#FFFFFF#000000##000000
##D2B8551.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B54B
Deuteranopia (green-blind)
#D0BD59
Tritanopia (blue-blind)
#E1ABA2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d2b855;
/* rgb */ color: rgb(210, 184, 85);
/* oklch */ color: oklch(78.6% 0.122 94.7);
Tailwind
colors: {
  custom: {
    50: '#e3cd88',
    500: '#d2b855',
    950: '#000000',
  },
}
SCSS
$custom: #d2b855;
$custom-light: #e3cd88;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b855",
  "rgb": {
    "r": 210,
    "g": 184,
    "b": 85
  },
  "hsl": {
    "h": 47.52,
    "s": 58.14,
    "l": 57.843
  },
  "oklch": {
    "l": 0.78564,
    "c": 0.12219,
    "h": 94.7
  },
  "luminance": 0.48638
}

Semantic roles & 50–950 ramp

primary
#D2B855
secondary
#A8B3DA
accent
#67E146
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D2B855

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

Preview Lab → · Contrast checker → · Palette generator →

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