#D5CA48#D5CA48

#D5CA48 is a very light, vivid yellow. Relative luminance 0.569; OKLCH L 82.5% C 0.148 H 104.5°. Best body text is #000000 at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#D5CA48
RGBrgb(213, 202, 72)
HSLhsl(55, 63%, 56%)
HSVhsv(55, 66%, 84%)
CMYKcmyk(0%, 5.2%, 66.2%, 16.5%)
CIE-LABlab(80.10, -11.31, 63.59)
CIE-LCHlch(80.10, 64.59, 100.09°)
OKLaboklab(82.46% -0.0369 0.1431)
OKLCHoklch(82.46% 0.148 104.5)
XYZxyz(49.7327, 56.8569, 14.4844)
Luminance0.5685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CA48 #4853D5
analogous
#D58348 #D5CA48 #99D548
triadic
#D5CA48 #48D5CA #CA48D5
tetradic
#D5CA48 #48D583 #4853D5 #D54899
square
#D5CA48 #48D583 #4853D5 #D54899
split-complementary
#D5CA48 #4899D5 #8348D5
monochromatic
#847C1E #B6AB2A #D5CA48 #E0D87A #ECE7AC

Accessibility & contrast

On white

1.70
#D5CA48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.37
#D5CA48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CA48
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CA48#FFFFFF#000000##000000
##D5CA481.001.7012.3712.37
#FFFFFF1.701.0021.0021.00
#00000012.3721.001.001.00
##00000012.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC336
Deuteranopia (green-blind)
#DFC950
Tritanopia (blue-blind)
#E4BDAF
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d5ca48;
/* rgb */ color: rgb(213, 202, 72);
/* oklch */ color: oklch(82.5% 0.148 104.5);
Tailwind
colors: {
  custom: {
    50: '#e5d982',
    500: '#d5ca48',
    950: '#000000',
  },
}
SCSS
$custom: #d5ca48;
$custom-light: #e5d982;
$custom-dark: #000000;
JSON
{
  "hex": "#d5ca48",
  "rgb": {
    "r": 213,
    "g": 202,
    "b": 72
  },
  "hsl": {
    "h": 55.319,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.82455,
    "c": 0.14775,
    "h": 104.5
  },
  "luminance": 0.56855
}

Semantic roles & 50–950 ramp

primary
#D5CA48
secondary
#363D8B
accent
#4FE642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5CA48

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

Preview Lab → · Contrast checker → · Palette generator →

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