#D2B351#D2B351

#D2B351 is a light, vivid yellow. Relative luminance 0.465; OKLCH L 77.5% C 0.122 H 91.8°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#D2B351
RGBrgb(210, 179, 81)
HSLhsl(46, 59%, 57%)
HSVhsv(46, 61%, 82%)
CMYKcmyk(0%, 14.8%, 61.4%, 17.6%)
CIE-LABlab(73.89, -0.14, 53.00)
CIE-LCHlch(73.89, 53.00, 90.15°)
OKLaboklab(77.5% -0.0037 0.122)
OKLCHoklch(77.5% 0.122 91.8)
XYZxyz(44.1857, 46.5383, 14.4384)
Luminance0.4654 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B351 #5170D2
analogous
#D27251 #D2B351 #B1D251
triadic
#D2B351 #51D2B3 #B351D2
tetradic
#D2B351 #51D272 #5170D2 #D251B1
square
#D2B351 #51D272 #5170D2 #D251B1
split-complementary
#D2B351 #51B1D2 #7251D2
monochromatic
#866E23 #B7962F #D2B351 #DFC882 #EBDDB2

Accessibility & contrast

On white

2.04
#D2B351 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.31
#D2B351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B351
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B351#FFFFFF#000000##000000
##D2B3511.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B047
Deuteranopia (green-blind)
#CCB955
Tritanopia (blue-blind)
#E2A69E
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d2b351;
/* rgb */ color: rgb(210, 179, 81);
/* oklch */ color: oklch(77.5% 0.122 91.8);
Tailwind
colors: {
  custom: {
    50: '#e3c985',
    500: '#d2b351',
    950: '#000000',
  },
}
SCSS
$custom: #d2b351;
$custom-light: #e3c985;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b351",
  "rgb": {
    "r": 210,
    "g": 179,
    "b": 81
  },
  "hsl": {
    "h": 45.581,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.77498,
    "c": 0.12207,
    "h": 91.8
  },
  "luminance": 0.46536
}

Semantic roles & 50–950 ramp

primary
#D2B351
secondary
#A5B2DA
accent
#6BE246
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D2B351

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

Preview Lab → · Contrast checker → · Palette generator →

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