#D2CA6A#D2CA6A

#D2CA6A is a very light, moderate yellow. Relative luminance 0.570; OKLCH L 82.6% C 0.119 H 104.4°. Best body text is #000000 at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#D2CA6A
RGBrgb(210, 202, 106)
HSLhsl(55, 54%, 62%)
HSVhsv(55, 50%, 82%)
CMYKcmyk(0%, 3.8%, 49.5%, 17.6%)
CIE-LABlab(80.17, -10.09, 48.48)
CIE-LCHlch(80.17, 49.52, 101.76°)
OKLaboklab(82.56% -0.0296 0.1149)
OKLCHoklch(82.56% 0.119 104.4)
XYZxyz(50.3017, 56.9848, 21.9823)
Luminance0.5698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CA6A #6A72D2
analogous
#D2966A #D2CA6A #A6D26A
triadic
#D2CA6A #6AD2CA #CA6AD2
tetradic
#D2CA6A #6AD296 #6A72D2 #D26AA6
square
#D2CA6A #6AD296 #6A72D2 #D26AA6
split-complementary
#D2CA6A #6AA6D2 #966AD2
monochromatic
#958D2D #C4B93B #D2CA6A #E0DB99 #EEEBC8

Accessibility & contrast

On white

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

On black

12.40
#D2CA6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CA6A
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CA6A#FFFFFF#000000##000000
##D2CA6A1.001.6912.4012.40
#FFFFFF1.691.0021.0021.00
#00000012.4021.001.001.00
##00000012.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C461
Deuteranopia (green-blind)
#DCC96E
Tritanopia (blue-blind)
#DFBFB4
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d2ca6a;
/* rgb */ color: rgb(210, 202, 106);
/* oklch */ color: oklch(82.6% 0.119 104.4);
Tailwind
colors: {
  custom: {
    50: '#e2d997',
    500: '#d2ca6a',
    950: '#000000',
  },
}
SCSS
$custom: #d2ca6a;
$custom-light: #e2d997;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ca6a",
  "rgb": {
    "r": 210,
    "g": 202,
    "b": 106
  },
  "hsl": {
    "h": 55.385,
    "s": 53.608,
    "l": 61.961
  },
  "oklch": {
    "l": 0.82556,
    "c": 0.11868,
    "h": 104.4
  },
  "luminance": 0.56983
}

Semantic roles & 50–950 ramp

primary
#D2CA6A
secondary
#464D9A
accent
#30C124
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D2CA6A

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

Preview Lab → · Contrast checker → · Palette generator →

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