#D2CA4D#D2CA4D

#D2CA4D is a very light, vivid yellow. Relative luminance 0.565; OKLCH L 82.2% C 0.144 H 105.6°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#D2CA4D
RGBrgb(210, 202, 77)
HSLhsl(56, 60%, 56%)
HSVhsv(56, 63%, 82%)
CMYKcmyk(0%, 3.8%, 63.3%, 17.6%)
CIE-LABlab(79.89, -12.28, 61.26)
CIE-LCHlch(79.89, 62.47, 101.33°)
OKLaboklab(82.24% -0.0389 0.139)
OKLCHoklch(82.24% 0.144 105.6)
XYZxyz(49.0402, 56.4802, 15.3383)
Luminance0.5648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CA4D #4D55D2
analogous
#D2884D #D2CA4D #98D24D
triadic
#D2CA4D #4DD2CA #CA4DD2
tetradic
#D2CA4D #4DD288 #4D55D2 #D24D98
square
#D2CA4D #4DD288 #4D55D2 #D24D98
split-complementary
#D2CA4D #4D98D2 #884DD2
monochromatic
#837D21 #B4AC2E #D2CA4D #DED97E #EBE7AF

Accessibility & contrast

On white

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

On black

12.30
#D2CA4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CA4D
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CA4D#FFFFFF#000000##000000
##D2CA4D1.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC33D
Deuteranopia (green-blind)
#DEC954
Tritanopia (blue-blind)
#E1BDB0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d2ca4d;
/* rgb */ color: rgb(210, 202, 77);
/* oklch */ color: oklch(82.2% 0.144 105.6);
Tailwind
colors: {
  custom: {
    50: '#e3d985',
    500: '#d2ca4d',
    950: '#000000',
  },
}
SCSS
$custom: #d2ca4d;
$custom-light: #e3d985;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ca4d",
  "rgb": {
    "r": 210,
    "g": 202,
    "b": 77
  },
  "hsl": {
    "h": 56.391,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.82238,
    "c": 0.14433,
    "h": 105.6
  },
  "luminance": 0.56479
}

Semantic roles & 50–950 ramp

primary
#D2CA4D
secondary
#393E8A
accent
#4EE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2CA4D

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

Preview Lab → · Contrast checker → · Palette generator →

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