#D2B751#D2B751

#D2B751 is a light, vivid yellow. Relative luminance 0.482; OKLCH L 78.3% C 0.125 H 94.5°. Best body text is #000000 at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#D2B751
RGBrgb(210, 183, 81)
HSLhsl(47, 59%, 57%)
HSVhsv(47, 61%, 82%)
CMYKcmyk(0%, 12.9%, 61.4%, 17.6%)
CIE-LABlab(74.93, -2.24, 54.15)
CIE-LCHlch(74.93, 54.20, 92.37°)
OKLaboklab(78.32% -0.0098 0.1245)
OKLCHoklch(78.32% 0.125 94.5)
XYZxyz(44.9990, 48.1649, 14.7095)
Luminance0.4816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B751 #516CD2
analogous
#D27751 #D2B751 #ACD251
triadic
#D2B751 #51D2B7 #B751D2
tetradic
#D2B751 #51D277 #516CD2 #D251AC
square
#D2B751 #51D277 #516CD2 #D251AC
split-complementary
#D2B751 #51ACD2 #7751D2
monochromatic
#867123 #B79A2F #D2B751 #DFCB82 #EBDFB2

Accessibility & contrast

On white

1.98
#D2B751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.63
#D2B751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B751
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B751#FFFFFF#000000##000000
##D2B7511.001.9810.6310.63
#FFFFFF1.981.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B446
Deuteranopia (green-blind)
#CFBC56
Tritanopia (blue-blind)
#E2AAA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d2b751;
/* rgb */ color: rgb(210, 183, 81);
/* oklch */ color: oklch(78.3% 0.125 94.5);
Tailwind
colors: {
  custom: {
    50: '#e3cc86',
    500: '#d2b751',
    950: '#000000',
  },
}
SCSS
$custom: #d2b751;
$custom-light: #e3cc86;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b751",
  "rgb": {
    "r": 210,
    "g": 183,
    "b": 81
  },
  "hsl": {
    "h": 47.442,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.78316,
    "c": 0.12485,
    "h": 94.5
  },
  "luminance": 0.48163
}

Semantic roles & 50–950 ramp

primary
#D2B751
secondary
#A5B0DA
accent
#66E246
background
#FEFCF8
surface
#FDF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #D2B751

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

Preview Lab → · Contrast checker → · Palette generator →

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