#D2B651#D2B651

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

Color values

HEX#D2B651
RGBrgb(210, 182, 81)
HSLhsl(47, 59%, 57%)
HSVhsv(47, 61%, 82%)
CMYKcmyk(0%, 13.3%, 61.4%, 17.6%)
CIE-LABlab(74.67, -1.72, 53.86)
CIE-LCHlch(74.67, 53.89, 91.82°)
OKLaboklab(78.11% -0.0083 0.1239)
OKLCHoklch(78.11% 0.124 93.8)
XYZxyz(44.7935, 47.7539, 14.6410)
Luminance0.4775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B651 #516DD2
analogous
#D27651 #D2B651 #ADD251
triadic
#D2B651 #51D2B6 #B651D2
tetradic
#D2B651 #51D276 #516DD2 #D251AD
square
#D2B651 #51D276 #516DD2 #D251AD
split-complementary
#D2B651 #51ADD2 #7651D2
monochromatic
#867023 #B7992F #D2B651 #DFCA82 #EBDFB2

Accessibility & contrast

On white

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

On black

10.55
#D2B651 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B651
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B651#FFFFFF#000000##000000
##D2B6511.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2b651;
/* rgb */ color: rgb(210, 182, 81);
/* oklch */ color: oklch(78.1% 0.124 93.8);
Tailwind
colors: {
  custom: {
    50: '#e3cb86',
    500: '#d2b651',
    950: '#000000',
  },
}
SCSS
$custom: #d2b651;
$custom-light: #e3cb86;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b651",
  "rgb": {
    "r": 210,
    "g": 182,
    "b": 81
  },
  "hsl": {
    "h": 46.977,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.78111,
    "c": 0.12413,
    "h": 93.8
  },
  "luminance": 0.47752
}

Semantic roles & 50–950 ramp

primary
#D2B651
secondary
#A5B1DA
accent
#68E246
background
#FEFCF8
surface
#FDF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #D2B651

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

Preview Lab → · Contrast checker → · Palette generator →

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