#D6CA52#D6CA52

#D6CA52 is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.6% C 0.140 H 103.6°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#D6CA52
RGBrgb(214, 202, 82)
HSLhsl(55, 62%, 58%)
HSVhsv(55, 62%, 84%)
CMYKcmyk(0%, 5.6%, 61.7%, 16.1%)
CIE-LABlab(80.26, -10.29, 59.65)
CIE-LCHlch(80.26, 60.53, 99.79°)
OKLaboklab(82.63% -0.033 0.1362)
OKLCHoklch(82.63% 0.14 103.6)
XYZxyz(50.3769, 57.1483, 16.3581)
Luminance0.5715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6CA52 #525ED6
analogous
#D68852 #D6CA52 #A0D652
triadic
#D6CA52 #52D6CA #CA52D6
tetradic
#D6CA52 #52D688 #525ED6 #D652A0
square
#D6CA52 #52D688 #525ED6 #D652A0
split-complementary
#D6CA52 #52A0D6 #8852D6
monochromatic
#8C8321 #BEB12D #D6CA52 #E2D983 #EDE8B5

Accessibility & contrast

On white

1.69
#D6CA52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.43
#D6CA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6CA52
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6CA52#FFFFFF#000000##000000
##D6CA521.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC444
Deuteranopia (green-blind)
#DFCA59
Tritanopia (blue-blind)
#E5BDB1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d6ca52;
/* rgb */ color: rgb(214, 202, 82);
/* oklch */ color: oklch(82.6% 0.140 103.6);
Tailwind
colors: {
  custom: {
    50: '#e6d988',
    500: '#d6ca52',
    950: '#000000',
  },
}
SCSS
$custom: #d6ca52;
$custom-light: #e6d988;
$custom-dark: #000000;
JSON
{
  "hex": "#d6ca52",
  "rgb": {
    "r": 214,
    "g": 202,
    "b": 82
  },
  "hsl": {
    "h": 54.545,
    "s": 61.682,
    "l": 58.039
  },
  "oklch": {
    "l": 0.82632,
    "c": 0.14012,
    "h": 103.6
  },
  "luminance": 0.57146
}

Semantic roles & 50–950 ramp

primary
#D6CA52
secondary
#3A4292
accent
#52E543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D6CA52

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

Preview Lab → · Contrast checker → · Palette generator →

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