#D2CA4C#D2CA4C

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

Color values

HEX#D2CA4C
RGBrgb(210, 202, 76)
HSLhsl(56, 60%, 56%)
HSVhsv(56, 64%, 82%)
CMYKcmyk(0%, 3.8%, 63.8%, 17.6%)
CIE-LABlab(79.88, -12.34, 61.66)
CIE-LCHlch(79.88, 62.88, 101.31°)
OKLaboklab(82.23% -0.0392 0.1397)
OKLCHoklch(82.23% 0.145 105.7)
XYZxyz(49.0052, 56.4662, 15.1538)
Luminance0.5646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CA4C #4C54D2
analogous
#D2874C #D2CA4C #97D24C
triadic
#D2CA4C #4CD2CA #CA4CD2
tetradic
#D2CA4C #4CD287 #4C54D2 #D24C97
square
#D2CA4C #4CD287 #4C54D2 #D24C97
split-complementary
#D2CA4C #4C97D2 #874CD2
monochromatic
#837D21 #B4AC2D #D2CA4C #DED87D #EBE7AE

Accessibility & contrast

On white

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

On black

12.29
#D2CA4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CA4C
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CA4C#FFFFFF#000000##000000
##D2CA4C1.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2ca4c;
/* rgb */ color: rgb(210, 202, 76);
/* oklch */ color: oklch(82.2% 0.145 105.7);
Tailwind
colors: {
  custom: {
    50: '#e3d984',
    500: '#d2ca4c',
    950: '#000000',
  },
}
SCSS
$custom: #d2ca4c;
$custom-light: #e3d984;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ca4c",
  "rgb": {
    "r": 210,
    "g": 202,
    "b": 76
  },
  "hsl": {
    "h": 56.418,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.82229,
    "c": 0.14509,
    "h": 105.7
  },
  "luminance": 0.56465
}

Semantic roles & 50–950 ramp

primary
#D2CA4C
secondary
#383D8A
accent
#4EE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2CA4C

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

Preview Lab → · Contrast checker → · Palette generator →

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