#D2CA5C#D2CA5C

#D2CA5C is a very light, vivid yellow. Relative luminance 0.567; OKLCH L 82.4% C 0.132 H 105.1°. Best body text is #000000 at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#D2CA5C
RGBrgb(210, 202, 92)
HSLhsl(56, 57%, 59%)
HSVhsv(56, 56%, 82%)
CMYKcmyk(0%, 3.8%, 56.2%, 17.6%)
CIE-LABlab(80.02, -11.24, 54.87)
CIE-LCHlch(80.02, 56.01, 101.58°)
OKLaboklab(82.39% -0.0344 0.1274)
OKLCHoklch(82.39% 0.132 105.1)
XYZxyz(49.6322, 56.7170, 18.4562)
Luminance0.5672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CA5C #5C64D2
analogous
#D28F5C #D2CA5C #9FD25C
triadic
#D2CA5C #5CD2CA #CA5CD2
tetradic
#D2CA5C #5CD28F #5C64D2 #D25C9F
square
#D2CA5C #5CD28F #5C64D2 #D25C9F
split-complementary
#D2CA5C #5C9FD2 #8F5CD2
monochromatic
#8D8627 #BDB334 #D2CA5C #DFDA8C #ECE9BC

Accessibility & contrast

On white

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

On black

12.34
#D2CA5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CA5C
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CA5C#FFFFFF#000000##000000
##D2CA5C1.001.7012.3412.34
#FFFFFF1.701.0021.0021.00
#00000012.3421.001.001.00
##00000012.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC351
Deuteranopia (green-blind)
#DDC962
Tritanopia (blue-blind)
#E0BEB2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d2ca5c;
/* rgb */ color: rgb(210, 202, 92);
/* oklch */ color: oklch(82.4% 0.132 105.1);
Tailwind
colors: {
  custom: {
    50: '#e2d98e',
    500: '#d2ca5c',
    950: '#000000',
  },
}
SCSS
$custom: #d2ca5c;
$custom-light: #e2d98e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ca5c",
  "rgb": {
    "r": 210,
    "g": 202,
    "b": 92
  },
  "hsl": {
    "h": 55.932,
    "s": 56.731,
    "l": 59.216
  },
  "oklch": {
    "l": 0.82387,
    "c": 0.13192,
    "h": 105.1
  },
  "luminance": 0.56715
}

Semantic roles & 50–950 ramp

primary
#D2CA5C
secondary
#3F4593
accent
#52E048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2CA5C

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

Preview Lab → · Contrast checker → · Palette generator →

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