#D2B854#D2B854

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

Color values

HEX#D2B854
RGBrgb(210, 184, 84)
HSLhsl(48, 58%, 58%)
HSVhsv(48, 60%, 82%)
CMYKcmyk(0%, 12.4%, 60%, 17.6%)
CIE-LABlab(75.22, -2.56, 53.10)
CIE-LCHlch(75.22, 53.16, 92.76°)
OKLaboklab(78.55% -0.0103 0.1226)
OKLCHoklch(78.55% 0.123 94.8)
XYZxyz(45.3210, 48.6249, 15.3841)
Luminance0.4862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B854 #546ED2
analogous
#D27954 #D2B854 #ADD254
triadic
#D2B854 #54D2B8 #B854D2
tetradic
#D2B854 #54D279 #546ED2 #D254AD
square
#D2B854 #54D279 #546ED2 #D254AD
split-complementary
#D2B854 #54ADD2 #7954D2
monochromatic
#887324 #B89C31 #D2B854 #DFCC84 #EBE0B5

Accessibility & contrast

On white

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

On black

10.72
#D2B854 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B854
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B854#FFFFFF#000000##000000
##D2B8541.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2b854;
/* rgb */ color: rgb(210, 184, 84);
/* oklch */ color: oklch(78.6% 0.123 94.8);
Tailwind
colors: {
  custom: {
    50: '#e3cd88',
    500: '#d2b854',
    950: '#000000',
  },
}
SCSS
$custom: #d2b854;
$custom-light: #e3cd88;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b854",
  "rgb": {
    "r": 210,
    "g": 184,
    "b": 84
  },
  "hsl": {
    "h": 47.619,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.78553,
    "c": 0.12306,
    "h": 94.8
  },
  "luminance": 0.48623
}

Semantic roles & 50–950 ramp

primary
#D2B854
secondary
#A8B2DA
accent
#66E246
background
#FEFCF8
surface
#FDF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D2B854

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

Preview Lab → · Contrast checker → · Palette generator →

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