#D2CA53#D2CA53

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

Color values

HEX#D2CA53
RGBrgb(210, 202, 83)
HSLhsl(56, 59%, 57%)
HSVhsv(56, 60%, 82%)
CMYKcmyk(0%, 3.8%, 60.5%, 17.6%)
CIE-LABlab(79.94, -11.89, 58.77)
CIE-LCHlch(79.94, 59.96, 101.44°)
OKLaboklab(82.29% -0.0372 0.1346)
OKLCHoklch(82.29% 0.14 105.4)
XYZxyz(49.2619, 56.5689, 16.5059)
Luminance0.5657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CA53 #535BD2
analogous
#D28A53 #D2CA53 #9BD253
triadic
#D2CA53 #53D2CA #CA53D2
tetradic
#D2CA53 #53D28A #535BD2 #D2539B
square
#D2CA53 #53D28A #535BD2 #D2539B
split-complementary
#D2CA53 #539BD2 #8A53D2
monochromatic
#878123 #B8AF30 #D2CA53 #DFD984 #EBE8B4

Accessibility & contrast

On white

1.71
#D2CA53 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.31
#D2CA53 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CA53
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CA53#FFFFFF#000000##000000
##D2CA531.001.7112.3112.31
#FFFFFF1.711.0021.0021.00
#00000012.3121.001.001.00
##00000012.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2ca53;
/* rgb */ color: rgb(210, 202, 83);
/* oklch */ color: oklch(82.3% 0.140 105.4);
Tailwind
colors: {
  custom: {
    50: '#e3d988',
    500: '#d2ca53',
    950: '#000000',
  },
}
SCSS
$custom: #d2ca53;
$custom-light: #e3d988;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ca53",
  "rgb": {
    "r": 210,
    "g": 202,
    "b": 83
  },
  "hsl": {
    "h": 56.22,
    "s": 58.525,
    "l": 57.451
  },
  "oklch": {
    "l": 0.82294,
    "c": 0.1396,
    "h": 105.4
  },
  "luminance": 0.56567
}

Semantic roles & 50–950 ramp

primary
#D2CA53
secondary
#3B418E
accent
#50E246
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2CA53

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

Preview Lab → · Contrast checker → · Palette generator →

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