#D5C348#D5C348

#D5C348 is a light, vivid yellow. Relative luminance 0.536; OKLCH L 81.0% C 0.142 H 100.9°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#D5C348
RGBrgb(213, 195, 72)
HSLhsl(52, 63%, 56%)
HSVhsv(52, 66%, 84%)
CMYKcmyk(0%, 8.5%, 66.2%, 16.5%)
CIE-LABlab(78.25, -7.75, 61.69)
CIE-LCHlch(78.25, 62.17, 97.16°)
OKLaboklab(80.99% -0.0268 0.139)
OKLCHoklch(80.99% 0.142 100.9)
XYZxyz(48.1274, 53.6463, 13.9493)
Luminance0.5364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C348 #485AD5
analogous
#D57C48 #D5C348 #A1D548
triadic
#D5C348 #48D5C3 #C348D5
tetradic
#D5C348 #48D57C #485AD5 #D548A1
square
#D5C348 #48D57C #485AD5 #D548A1
split-complementary
#D5C348 #48A1D5 #7C48D5
monochromatic
#84771E #B6A42A #D5C348 #E0D37A #ECE4AC

Accessibility & contrast

On white

1.79
#D5C348 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.73
#D5C348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C348
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C348#FFFFFF#000000##000000
##D5C3481.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD38
Deuteranopia (green-blind)
#DAC54F
Tritanopia (blue-blind)
#E5B6AA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d5c348;
/* rgb */ color: rgb(213, 195, 72);
/* oklch */ color: oklch(81.0% 0.142 100.9);
Tailwind
colors: {
  custom: {
    50: '#e5d481',
    500: '#d5c348',
    950: '#000000',
  },
}
SCSS
$custom: #d5c348;
$custom-light: #e5d481;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c348",
  "rgb": {
    "r": 213,
    "g": 195,
    "b": 72
  },
  "hsl": {
    "h": 52.34,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.8099,
    "c": 0.1416,
    "h": 100.9
  },
  "luminance": 0.53644
}

Semantic roles & 50–950 ramp

primary
#D5C348
secondary
#36418B
accent
#57E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5C348

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

Preview Lab → · Contrast checker → · Palette generator →

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