#D2CA56#D2CA56

#D2CA56 is a very light, vivid yellow. Relative luminance 0.566; OKLCH L 82.3% C 0.137 H 105.3°. Best body text is #000000 at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#D2CA56
RGBrgb(210, 202, 86)
HSLhsl(56, 58%, 58%)
HSVhsv(56, 59%, 82%)
CMYKcmyk(0%, 3.8%, 59%, 17.6%)
CIE-LABlab(79.96, -11.68, 57.49)
CIE-LCHlch(79.96, 58.66, 101.49°)
OKLaboklab(82.32% -0.0363 0.1322)
OKLCHoklch(82.32% 0.137 105.3)
XYZxyz(49.3802, 56.6162, 17.1292)
Luminance0.5662 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CA56 #565ED2
analogous
#D28C56 #D2CA56 #9CD256
triadic
#D2CA56 #56D2CA #CA56D2
tetradic
#D2CA56 #56D28C #565ED2 #D2569C
square
#D2CA56 #56D28C #565ED2 #D2569C
split-complementary
#D2CA56 #569CD2 #8C56D2
monochromatic
#898325 #B9B131 #D2CA56 #DFD986 #ECE8B7

Accessibility & contrast

On white

1.70
#D2CA56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.32
#D2CA56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CA56
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CA56#FFFFFF#000000##000000
##D2CA561.001.7012.3212.32
#FFFFFF1.701.0021.0021.00
#00000012.3221.001.001.00
##00000012.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC349
Deuteranopia (green-blind)
#DDC95C
Tritanopia (blue-blind)
#E0BEB1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d2ca56;
/* rgb */ color: rgb(210, 202, 86);
/* oklch */ color: oklch(82.3% 0.137 105.3);
Tailwind
colors: {
  custom: {
    50: '#e3d98a',
    500: '#d2ca56',
    950: '#000000',
  },
}
SCSS
$custom: #d2ca56;
$custom-light: #e3d98a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ca56",
  "rgb": {
    "r": 210,
    "g": 202,
    "b": 86
  },
  "hsl": {
    "h": 56.129,
    "s": 57.944,
    "l": 58.039
  },
  "oklch": {
    "l": 0.82324,
    "c": 0.13711,
    "h": 105.3
  },
  "luminance": 0.56615
}

Semantic roles & 50–950 ramp

primary
#D2CA56
secondary
#3D4290
accent
#51E147
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2CA56

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

Preview Lab → · Contrast checker → · Palette generator →

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