#D2CA5D#D2CA5D

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

Color values

HEX#D2CA5D
RGBrgb(210, 202, 93)
HSLhsl(56, 57%, 59%)
HSVhsv(56, 56%, 82%)
CMYKcmyk(0%, 3.8%, 55.7%, 17.6%)
CIE-LABlab(80.03, -11.17, 54.42)
CIE-LCHlch(80.03, 55.56, 101.60°)
OKLaboklab(82.4% -0.034 0.1265)
OKLCHoklch(82.4% 0.131 105.1)
XYZxyz(49.6762, 56.7346, 18.6879)
Luminance0.5673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CA5D #5D65D2
analogous
#D28F5D #D2CA5D #A0D25D
triadic
#D2CA5D #5DD2CA #CA5DD2
tetradic
#D2CA5D #5DD28F #5D65D2 #D25DA0
square
#D2CA5D #5DD28F #5D65D2 #D25DA0
split-complementary
#D2CA5D #5DA0D2 #8F5DD2
monochromatic
#8D8627 #BDB435 #D2CA5D #DFDA8D #EDE9BD

Accessibility & contrast

On white

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

On black

12.35
#D2CA5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CA5D
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CA5D#FFFFFF#000000##000000
##D2CA5D1.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2ca5d;
/* rgb */ color: rgb(210, 202, 93);
/* oklch */ color: oklch(82.4% 0.131 105.1);
Tailwind
colors: {
  custom: {
    50: '#e2d98e',
    500: '#d2ca5d',
    950: '#000000',
  },
}
SCSS
$custom: #d2ca5d;
$custom-light: #e2d98e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ca5d",
  "rgb": {
    "r": 210,
    "g": 202,
    "b": 93
  },
  "hsl": {
    "h": 55.897,
    "s": 56.522,
    "l": 59.412
  },
  "oklch": {
    "l": 0.82399,
    "c": 0.13103,
    "h": 105.1
  },
  "luminance": 0.56733
}

Semantic roles & 50–950 ramp

primary
#D2CA5D
secondary
#404693
accent
#52E048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D2CA5D

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

Preview Lab → · Contrast checker → · Palette generator →

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