#D5C448#D5C448

#D5C448 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 81.2% C 0.142 H 101.4°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#D5C448
RGBrgb(213, 196, 72)
HSLhsl(53, 63%, 56%)
HSVhsv(53, 66%, 84%)
CMYKcmyk(0%, 8%, 66.2%, 16.5%)
CIE-LABlab(78.52, -8.26, 61.96)
CIE-LCHlch(78.52, 62.51, 97.59°)
OKLaboklab(81.2% -0.0282 0.1396)
OKLCHoklch(81.2% 0.142 101.4)
XYZxyz(48.3522, 54.0959, 14.0243)
Luminance0.5409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C448 #4859D5
analogous
#D57D48 #D5C448 #9FD548
triadic
#D5C448 #48D5C4 #C448D5
tetradic
#D5C448 #48D57D #4859D5 #D5489F
square
#D5C448 #48D57D #4859D5 #D5489F
split-complementary
#D5C448 #489FD5 #7D48D5
monochromatic
#84781E #B6A52A #D5C448 #E0D47A #ECE4AC

Accessibility & contrast

On white

1.78
#D5C448 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.82
#D5C448 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C448
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C448#FFFFFF#000000##000000
##D5C4481.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5c448;
/* rgb */ color: rgb(213, 196, 72);
/* oklch */ color: oklch(81.2% 0.142 101.4);
Tailwind
colors: {
  custom: {
    50: '#e5d581',
    500: '#d5c448',
    950: '#000000',
  },
}
SCSS
$custom: #d5c448;
$custom-light: #e5d581;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c448",
  "rgb": {
    "r": 213,
    "g": 196,
    "b": 72
  },
  "hsl": {
    "h": 52.766,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.81199,
    "c": 0.14244,
    "h": 101.4
  },
  "luminance": 0.54094
}

Semantic roles & 50–950 ramp

primary
#D5C448
secondary
#36408B
accent
#56E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5C448

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

Preview Lab → · Contrast checker → · Palette generator →

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