#D3CA48#D3CA48

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

Color values

HEX#D3CA48
RGBrgb(211, 202, 72)
HSLhsl(56, 61%, 55%)
HSVhsv(56, 66%, 83%)
CMYKcmyk(0%, 4.3%, 65.9%, 17.3%)
CIE-LABlab(79.93, -12.15, 63.37)
CIE-LCHlch(79.93, 64.52, 100.86°)
OKLaboklab(82.28% -0.0392 0.1426)
OKLCHoklch(82.28% 0.148 105.4)
XYZxyz(49.1561, 56.5596, 14.4574)
Luminance0.5656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CA48 #4851D3
analogous
#D38448 #D3CA48 #96D348
triadic
#D3CA48 #48D3CA #CA48D3
tetradic
#D3CA48 #48D384 #4851D3 #D34896
square
#D3CA48 #48D384 #4851D3 #D34896
split-complementary
#D3CA48 #4896D3 #8448D3
monochromatic
#817B1F #B3AA2B #D3CA48 #DFD879 #EBE7AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3CA48#FFFFFF#000000##000000
##D3CA481.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)
#DBC336
Deuteranopia (green-blind)
#DEC950
Tritanopia (blue-blind)
#E2BDAF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d3ca48;
/* rgb */ color: rgb(211, 202, 72);
/* oklch */ color: oklch(82.3% 0.148 105.4);
Tailwind
colors: {
  custom: {
    50: '#e4d982',
    500: '#d3ca48',
    950: '#000000',
  },
}
SCSS
$custom: #d3ca48;
$custom-light: #e4d982;
$custom-dark: #000000;
JSON
{
  "hex": "#d3ca48",
  "rgb": {
    "r": 211,
    "g": 202,
    "b": 72
  },
  "hsl": {
    "h": 56.115,
    "s": 61.233,
    "l": 55.49
  },
  "oklch": {
    "l": 0.82282,
    "c": 0.14792,
    "h": 105.4
  },
  "luminance": 0.56558
}

Semantic roles & 50–950 ramp

primary
#D3CA48
secondary
#373C89
accent
#4EE443
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D3CA48

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

Preview Lab → · Contrast checker → · Palette generator →

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