#D6C052#D6C052

#D6C052 is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.6% C 0.131 H 98.0°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#D6C052
RGBrgb(214, 192, 82)
HSLhsl(50, 62%, 58%)
HSVhsv(50, 62%, 84%)
CMYKcmyk(0%, 10.3%, 61.7%, 16.1%)
CIE-LABlab(77.64, -5.16, 56.80)
CIE-LCHlch(77.64, 57.03, 95.20°)
OKLaboklab(80.55% -0.0183 0.1301)
OKLCHoklch(80.55% 0.131 98)
XYZxyz(48.1062, 52.6068, 15.6012)
Luminance0.5261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C052 #5268D6
analogous
#D67E52 #D6C052 #AAD652
triadic
#D6C052 #52D6C0 #C052D6
tetradic
#D6C052 #52D67E #5268D6 #D652AA
square
#D6C052 #52D67E #5268D6 #D652AA
split-complementary
#D6C052 #52AAD6 #7E52D6
monochromatic
#8C7A21 #BEA62D #D6C052 #E2D283 #EDE4B5

Accessibility & contrast

On white

1.82
#D6C052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.52
#D6C052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C052
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C052#FFFFFF#000000##000000
##D6C0521.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB46
Deuteranopia (green-blind)
#D7C357
Tritanopia (blue-blind)
#E6B3A8
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d6c052;
/* rgb */ color: rgb(214, 192, 82);
/* oklch */ color: oklch(80.6% 0.131 98.0);
Tailwind
colors: {
  custom: {
    50: '#e6d287',
    500: '#d6c052',
    950: '#000000',
  },
}
SCSS
$custom: #d6c052;
$custom-light: #e6d287;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c052",
  "rgb": {
    "r": 214,
    "g": 192,
    "b": 82
  },
  "hsl": {
    "h": 50,
    "s": 61.682,
    "l": 58.039
  },
  "oklch": {
    "l": 0.80552,
    "c": 0.13142,
    "h": 98
  },
  "luminance": 0.52605
}

Semantic roles & 50–950 ramp

primary
#D6C052
secondary
#3A4992
accent
#5EE543
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16140C
muted
#85837F

Preview Lab

Preview with #D6C052

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

Preview Lab → · Contrast checker → · Palette generator →

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