#D2B654#D2B654

#D2B654 is a light, vivid yellow. Relative luminance 0.478; OKLCH L 78.1% C 0.122 H 93.5°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#D2B654
RGBrgb(210, 182, 84)
HSLhsl(47, 58%, 58%)
HSVhsv(47, 60%, 82%)
CMYKcmyk(0%, 13.3%, 60%, 17.6%)
CIE-LABlab(74.70, -1.51, 52.52)
CIE-LCHlch(74.70, 52.54, 91.65°)
OKLaboklab(78.14% -0.0073 0.1214)
OKLCHoklch(78.14% 0.122 93.5)
XYZxyz(44.9085, 47.7999, 15.2466)
Luminance0.4780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B654 #5470D2
analogous
#D27754 #D2B654 #AFD254
triadic
#D2B654 #54D2B6 #B654D2
tetradic
#D2B654 #54D277 #5470D2 #D254AF
square
#D2B654 #54D277 #5470D2 #D254AF
split-complementary
#D2B654 #54AFD2 #7754D2
monochromatic
#887224 #B89A31 #D2B654 #DFCB84 #EBDFB5

Accessibility & contrast

On white

1.99
#D2B654 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.56
#D2B654 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B654
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B654#FFFFFF#000000##000000
##D2B6541.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B34A
Deuteranopia (green-blind)
#CEBB58
Tritanopia (blue-blind)
#E2A9A0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d2b654;
/* rgb */ color: rgb(210, 182, 84);
/* oklch */ color: oklch(78.1% 0.122 93.5);
Tailwind
colors: {
  custom: {
    50: '#e3cb87',
    500: '#d2b654',
    950: '#000000',
  },
}
SCSS
$custom: #d2b654;
$custom-light: #e3cb87;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b654",
  "rgb": {
    "r": 210,
    "g": 182,
    "b": 84
  },
  "hsl": {
    "h": 46.667,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.78143,
    "c": 0.12159,
    "h": 93.5
  },
  "luminance": 0.47798
}

Semantic roles & 50–950 ramp

primary
#D2B654
secondary
#A8B3DA
accent
#69E246
background
#FEFCF8
surface
#FDF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #D2B654

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

Preview Lab → · Contrast checker → · Palette generator →

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