#D2CA49#D2CA49

#D2CA49 is a very light, vivid yellow. Relative luminance 0.564; OKLCH L 82.2% C 0.147 H 105.8°. Best body text is #000000 at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#D2CA49
RGBrgb(210, 202, 73)
HSLhsl(56, 60%, 55%)
HSVhsv(56, 65%, 82%)
CMYKcmyk(0%, 3.8%, 65.2%, 17.6%)
CIE-LABlab(79.86, -12.52, 62.86)
CIE-LCHlch(79.86, 64.09, 101.26°)
OKLaboklab(82.2% -0.04 0.1418)
OKLCHoklch(82.2% 0.147 105.8)
XYZxyz(48.9033, 56.4254, 14.6172)
Luminance0.5642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CA49 #4951D2
analogous
#D28549 #D2CA49 #96D249
triadic
#D2CA49 #49D2CA #CA49D2
tetradic
#D2CA49 #49D285 #4951D2 #D24996
square
#D2CA49 #49D285 #4951D2 #D24996
split-complementary
#D2CA49 #4996D2 #8549D2
monochromatic
#817B20 #B2AA2C #D2CA49 #DED87A #EAE7AB

Accessibility & contrast

On white

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

On black

12.28
#D2CA49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CA49
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CA49#FFFFFF#000000##000000
##D2CA491.001.7112.2812.28
#FFFFFF1.711.0021.0021.00
#00000012.2821.001.001.00
##00000012.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2ca49;
/* rgb */ color: rgb(210, 202, 73);
/* oklch */ color: oklch(82.2% 0.147 105.8);
Tailwind
colors: {
  custom: {
    50: '#e3d982',
    500: '#d2ca49',
    950: '#000000',
  },
}
SCSS
$custom: #d2ca49;
$custom-light: #e3d982;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ca49",
  "rgb": {
    "r": 210,
    "g": 202,
    "b": 73
  },
  "hsl": {
    "h": 56.496,
    "s": 60.352,
    "l": 55.49
  },
  "oklch": {
    "l": 0.82203,
    "c": 0.14731,
    "h": 105.8
  },
  "luminance": 0.56424
}

Semantic roles & 50–950 ramp

primary
#D2CA49
secondary
#373C88
accent
#4EE344
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2CA49

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

Preview Lab → · Contrast checker → · Palette generator →

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