#D6C752#D6C752

#D6C752 is a very light, vivid yellow. Relative luminance 0.558; OKLCH L 82.0% C 0.137 H 102.0°. Best body text is #000000 at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#D6C752
RGBrgb(214, 199, 82)
HSLhsl(53, 62%, 58%)
HSVhsv(53, 62%, 84%)
CMYKcmyk(0%, 7%, 61.7%, 16.1%)
CIE-LABlab(79.47, -8.76, 58.79)
CIE-LCHlch(79.47, 59.44, 98.47°)
OKLaboklab(82% -0.0286 0.1344)
OKLCHoklch(82% 0.137 102)
XYZxyz(49.6799, 55.7541, 16.1258)
Luminance0.5575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C752 #5261D6
analogous
#D68552 #D6C752 #A3D652
triadic
#D6C752 #52D6C7 #C752D6
tetradic
#D6C752 #52D685 #5261D6 #D652A3
square
#D6C752 #52D685 #5261D6 #D652A3
split-complementary
#D6C752 #52A3D6 #8552D6
monochromatic
#8C8021 #BEAD2D #D6C752 #E2D783 #EDE7B5

Accessibility & contrast

On white

1.73
#D6C752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.15
#D6C752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C752
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C752#FFFFFF#000000##000000
##D6C7521.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C145
Deuteranopia (green-blind)
#DCC858
Tritanopia (blue-blind)
#E5BAAE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d6c752;
/* rgb */ color: rgb(214, 199, 82);
/* oklch */ color: oklch(82.0% 0.137 102.0);
Tailwind
colors: {
  custom: {
    50: '#e6d787',
    500: '#d6c752',
    950: '#000000',
  },
}
SCSS
$custom: #d6c752;
$custom-light: #e6d787;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c752",
  "rgb": {
    "r": 214,
    "g": 199,
    "b": 82
  },
  "hsl": {
    "h": 53.182,
    "s": 61.682,
    "l": 58.039
  },
  "oklch": {
    "l": 0.82004,
    "c": 0.13739,
    "h": 102
  },
  "luminance": 0.55752
}

Semantic roles & 50–950 ramp

primary
#D6C752
secondary
#3A4492
accent
#55E543
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16140C
muted
#85837F

Preview Lab

Preview with #D6C752

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

Preview Lab → · Contrast checker → · Palette generator →

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