#D2B646#D2B646

#D2B646 is a light, vivid yellow. Relative luminance 0.476; OKLCH L 78.0% C 0.133 H 95.0°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#D2B646
RGBrgb(210, 182, 70)
HSLhsl(48, 61%, 55%)
HSVhsv(48, 67%, 82%)
CMYKcmyk(0%, 13.3%, 66.7%, 17.6%)
CIE-LABlab(74.57, -2.40, 58.59)
CIE-LCHlch(74.57, 58.64, 92.35°)
OKLaboklab(78% -0.0116 0.1323)
OKLCHoklch(78% 0.133 95)
XYZxyz(44.4139, 47.6020, 12.6419)
Luminance0.4760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B646 #4662D2
analogous
#D27046 #D2B646 #A8D246
triadic
#D2B646 #46D2B6 #B646D2
tetradic
#D2B646 #46D270 #4662D2 #D246A8
square
#D2B646 #46D270 #4662D2 #D246A8
split-complementary
#D2B646 #46A8D2 #7046D2
monochromatic
#7F6C1F #B0952B #D2B646 #DEC977 #EADDA8

Accessibility & contrast

On white

2.00
#D2B646 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.52
#D2B646 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B646
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B646#FFFFFF#000000##000000
##D2B6461.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B238
Deuteranopia (green-blind)
#CFBB4C
Tritanopia (blue-blind)
#E2A89F
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d2b646;
/* rgb */ color: rgb(210, 182, 70);
/* oklch */ color: oklch(78.0% 0.133 95.0);
Tailwind
colors: {
  custom: {
    50: '#e3cb7f',
    500: '#d2b646',
    950: '#000000',
  },
}
SCSS
$custom: #d2b646;
$custom-light: #e3cb7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b646",
  "rgb": {
    "r": 210,
    "g": 182,
    "b": 70
  },
  "hsl": {
    "h": 48,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.78004,
    "c": 0.13277,
    "h": 95
  },
  "luminance": 0.476
}

Semantic roles & 50–950 ramp

primary
#D2B646
secondary
#9CA8D7
accent
#64E444
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2B646

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

Preview Lab → · Contrast checker → · Palette generator →

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