#D2B762#D2B762

#D2B762 is a light, moderate yellow. Relative luminance 0.484; OKLCH L 78.5% C 0.110 H 92.1°. Best body text is #000000 at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#D2B762
RGBrgb(210, 183, 98)
HSLhsl(46, 55%, 60%)
HSVhsv(46, 53%, 82%)
CMYKcmyk(0%, 12.9%, 53.3%, 17.6%)
CIE-LABlab(75.11, -0.95, 46.32)
CIE-LCHlch(75.11, 46.33, 91.18°)
OKLaboklab(78.52% -0.0041 0.1095)
OKLCHoklch(78.52% 0.11 92.1)
XYZxyz(45.7182, 48.4526, 18.4970)
Luminance0.4845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B762 #627DD2
analogous
#D27F62 #D2B762 #B5D262
triadic
#D2B762 #62D2B7 #B762D2
tetradic
#D2B762 #62D27F #627DD2 #D262B5
square
#D2B762 #62D27F #627DD2 #D262B5
split-complementary
#D2B762 #62B5D2 #7F62D2
monochromatic
#907729 #C09F37 #D2B762 #E0CD92 #EDE3C1

Accessibility & contrast

On white

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

On black

10.69
#D2B762 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B762
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B762#FFFFFF#000000##000000
##D2B7621.001.9610.6910.69
#FFFFFF1.961.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B45A
Deuteranopia (green-blind)
#CEBC65
Tritanopia (blue-blind)
#E1ABA3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d2b762;
/* rgb */ color: rgb(210, 183, 98);
/* oklch */ color: oklch(78.5% 0.110 92.1);
Tailwind
colors: {
  custom: {
    50: '#e2cc91',
    500: '#d2b762',
    950: '#000000',
  },
}
SCSS
$custom: #d2b762;
$custom-light: #e2cc91;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b762",
  "rgb": {
    "r": 210,
    "g": 183,
    "b": 98
  },
  "hsl": {
    "h": 45.536,
    "s": 55.446,
    "l": 60.392
  },
  "oklch": {
    "l": 0.78517,
    "c": 0.10957,
    "h": 92.1
  },
  "luminance": 0.4845
}

Semantic roles & 50–950 ramp

primary
#D2B762
secondary
#B3BDDD
accent
#49C323
background
#FEFCF9
surface
#FCF8F1
border
#D5D1CB
text
#16130D
muted
#84827E

Preview Lab

Preview with #D2B762

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

Preview Lab → · Contrast checker → · Palette generator →

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