#D2CA66#D2CA66

#D2CA66 is a very light, vivid yellow. Relative luminance 0.569; OKLCH L 82.5% C 0.123 H 104.6°. Best body text is #000000 at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#D2CA66
RGBrgb(210, 202, 102)
HSLhsl(56, 55%, 61%)
HSVhsv(56, 51%, 82%)
CMYKcmyk(0%, 3.8%, 51.4%, 17.6%)
CIE-LABlab(80.13, -10.44, 50.34)
CIE-LCHlch(80.13, 51.41, 101.72°)
OKLaboklab(82.51% -0.031 0.1186)
OKLCHoklch(82.51% 0.123 104.6)
XYZxyz(50.0985, 56.9035, 20.9123)
Luminance0.5690 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CA66 #666ED2
analogous
#D29466 #D2CA66 #A4D266
triadic
#D2CA66 #66D2CA #CA66D2
tetradic
#D2CA66 #66D294 #666ED2 #D266A4
square
#D2CA66 #66D294 #666ED2 #D266A4
split-complementary
#D2CA66 #66A4D2 #9466D2
monochromatic
#938B2B #C2B839 #D2CA66 #E0DA95 #EEEBC5

Accessibility & contrast

On white

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

On black

12.38
#D2CA66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CA66
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CA66#FFFFFF#000000##000000
##D2CA661.001.7012.3812.38
#FFFFFF1.701.0021.0021.00
#00000012.3821.001.001.00
##00000012.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C45D
Deuteranopia (green-blind)
#DCC96B
Tritanopia (blue-blind)
#DFBFB3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d2ca66;
/* rgb */ color: rgb(210, 202, 102);
/* oklch */ color: oklch(82.5% 0.123 104.6);
Tailwind
colors: {
  custom: {
    50: '#e2d994',
    500: '#d2ca66',
    950: '#000000',
  },
}
SCSS
$custom: #d2ca66;
$custom-light: #e2d994;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ca66",
  "rgb": {
    "r": 210,
    "g": 202,
    "b": 102
  },
  "hsl": {
    "h": 55.556,
    "s": 54.545,
    "l": 61.176
  },
  "oklch": {
    "l": 0.82505,
    "c": 0.12262,
    "h": 104.6
  },
  "luminance": 0.56902
}

Semantic roles & 50–950 ramp

primary
#D2CA66
secondary
#444A98
accent
#2FC223
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D2CA66

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

Preview Lab → · Contrast checker → · Palette generator →

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