#D6B652#D6B652

#D6B652 is a light, vivid yellow. Relative luminance 0.484; OKLCH L 78.5% C 0.124 H 91.5°. Best body text is #000000 at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#D6B652
RGBrgb(214, 182, 82)
HSLhsl(45, 62%, 58%)
HSVhsv(45, 62%, 84%)
CMYKcmyk(0%, 15%, 61.7%, 16.1%)
CIE-LABlab(75.05, 0.05, 53.94)
CIE-LCHlch(75.05, 53.94, 89.95°)
OKLaboklab(78.51% -0.0033 0.124)
OKLCHoklch(78.51% 0.124 91.5)
XYZxyz(45.9846, 48.3637, 14.8940)
Luminance0.4836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6B652 #5272D6
analogous
#D67452 #D6B652 #B4D652
triadic
#D6B652 #52D6B6 #B652D6
tetradic
#D6B652 #52D674 #5272D6 #D652B4
square
#D6B652 #52D674 #5272D6 #D652B4
split-complementary
#D6B652 #52B4D6 #7452D6
monochromatic
#8C7221 #BE9B2D #D6B652 #E2CB83 #EDE0B5

Accessibility & contrast

On white

1.97
#D6B652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.67
#D6B652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6B652
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6B652#FFFFFF#000000##000000
##D6B6521.001.9710.6710.67
#FFFFFF1.971.0021.0021.00
#00000010.6721.001.001.00
##00000010.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B347
Deuteranopia (green-blind)
#D0BD56
Tritanopia (blue-blind)
#E6A9A0
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d6b652;
/* rgb */ color: rgb(214, 182, 82);
/* oklch */ color: oklch(78.5% 0.124 91.5);
Tailwind
colors: {
  custom: {
    50: '#e6cb86',
    500: '#d6b652',
    950: '#000000',
  },
}
SCSS
$custom: #d6b652;
$custom-light: #e6cb86;
$custom-dark: #000000;
JSON
{
  "hex": "#d6b652",
  "rgb": {
    "r": 214,
    "g": 182,
    "b": 82
  },
  "hsl": {
    "h": 45.455,
    "s": 61.682,
    "l": 58.039
  },
  "oklch": {
    "l": 0.78505,
    "c": 0.12408,
    "h": 91.5
  },
  "luminance": 0.48361
}

Semantic roles & 50–950 ramp

primary
#D6B652
secondary
#A8B4DC
accent
#6AE543
background
#FEFCF8
surface
#FDF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #D6B652

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

Preview Lab → · Contrast checker → · Palette generator →

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