#D2CA3D#D2CA3D

#D2CA3D is a very light, vivid yellow. Relative luminance 0.563; OKLCH L 82.1% C 0.155 H 106.1°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#D2CA3D
RGBrgb(210, 202, 61)
HSLhsl(57, 62%, 53%)
HSVhsv(57, 71%, 82%)
CMYKcmyk(0%, 3.8%, 71%, 17.6%)
CIE-LABlab(79.77, -13.15, 67.36)
CIE-LCHlch(79.77, 68.63, 101.05°)
OKLaboklab(82.11% -0.0431 0.1493)
OKLCHoklch(82.11% 0.155 106.1)
XYZxyz(48.5431, 56.2814, 12.7203)
Luminance0.5628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CA3D #3D45D2
analogous
#D2803D #D2CA3D #8FD23D
triadic
#D2CA3D #3DD2CA #CA3DD2
tetradic
#D2CA3D #3DD280 #3D45D2 #D23D8F
square
#D2CA3D #3DD280 #3D45D2 #D23D8F
split-complementary
#D2CA3D #3D8FD2 #803DD2
monochromatic
#79741C #AAA328 #D2CA3D #DED86F #E9E5A0

Accessibility & contrast

On white

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

On black

12.26
#D2CA3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CA3D
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CA3D#FFFFFF#000000##000000
##D2CA3D1.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC325
Deuteranopia (green-blind)
#DFC847
Tritanopia (blue-blind)
#E1BDAE
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d2ca3d;
/* rgb */ color: rgb(210, 202, 61);
/* oklch */ color: oklch(82.1% 0.155 106.1);
Tailwind
colors: {
  custom: {
    50: '#e3d97c',
    500: '#d2ca3d',
    950: '#000000',
  },
}
SCSS
$custom: #d2ca3d;
$custom-light: #e3d97c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ca3d",
  "rgb": {
    "r": 210,
    "g": 202,
    "b": 61
  },
  "hsl": {
    "h": 56.779,
    "s": 62.343,
    "l": 53.137
  },
  "oklch": {
    "l": 0.82112,
    "c": 0.15534,
    "h": 106.1
  },
  "luminance": 0.5628
}

Semantic roles & 50–950 ramp

primary
#D2CA3D
secondary
#323781
accent
#4BE542
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D2CA3D

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

Preview Lab → · Contrast checker → · Palette generator →

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