#D2B662#D2B662

#D2B662 is a light, moderate yellow. Relative luminance 0.480; OKLCH L 78.3% C 0.109 H 91.3°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#D2B662
RGBrgb(210, 182, 98)
HSLhsl(45, 55%, 60%)
HSVhsv(45, 53%, 82%)
CMYKcmyk(0%, 13.3%, 53.3%, 17.6%)
CIE-LABlab(74.85, -0.43, 46.01)
CIE-LCHlch(74.85, 46.01, 90.53°)
OKLaboklab(78.31% -0.0025 0.1088)
OKLCHoklch(78.31% 0.109 91.3)
XYZxyz(45.5126, 48.0415, 18.4285)
Luminance0.4804 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B662 #627ED2
analogous
#D27E62 #D2B662 #B6D262
triadic
#D2B662 #62D2B6 #B662D2
tetradic
#D2B662 #62D27E #627ED2 #D262B6
square
#D2B662 #62D27E #627ED2 #D262B6
split-complementary
#D2B662 #62B6D2 #7E62D2
monochromatic
#907729 #C09E37 #D2B662 #E0CC92 #EDE2C1

Accessibility & contrast

On white

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

On black

10.61
#D2B662 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B662
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B662#FFFFFF#000000##000000
##D2B6621.001.9810.6110.61
#FFFFFF1.981.0021.0021.00
#00000010.6121.001.001.00
##00000010.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B45B
Deuteranopia (green-blind)
#CDBC65
Tritanopia (blue-blind)
#E1AAA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d2b662;
/* rgb */ color: rgb(210, 182, 98);
/* oklch */ color: oklch(78.3% 0.109 91.3);
Tailwind
colors: {
  custom: {
    50: '#e2cb91',
    500: '#d2b662',
    950: '#000000',
  },
}
SCSS
$custom: #d2b662;
$custom-light: #e2cb91;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b662",
  "rgb": {
    "r": 210,
    "g": 182,
    "b": 98
  },
  "hsl": {
    "h": 45,
    "s": 55.446,
    "l": 60.392
  },
  "oklch": {
    "l": 0.78313,
    "c": 0.10884,
    "h": 91.3
  },
  "luminance": 0.48039
}

Semantic roles & 50–950 ramp

primary
#D2B662
secondary
#B3BDDD
accent
#4BC323
background
#FEFCF9
surface
#FCF8F1
border
#D5D1CB
text
#16130D
muted
#84827E

Preview Lab

Preview with #D2B662

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

Preview Lab → · Contrast checker → · Palette generator →

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