#D4C357#D4C357

#D4C357 is a light, vivid yellow. Relative luminance 0.537; OKLCH L 81.0% C 0.130 H 100.4°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#D4C357
RGBrgb(212, 195, 87)
HSLhsl(52, 59%, 59%)
HSVhsv(52, 59%, 83%)
CMYKcmyk(0%, 8%, 59%, 16.9%)
CIE-LABlab(78.30, -7.21, 55.24)
CIE-LCHlch(78.30, 55.70, 97.43°)
OKLaboklab(81.04% -0.0235 0.1275)
OKLCHoklch(81.04% 0.13 100.4)
XYZxyz(48.3886, 53.7173, 16.8346)
Luminance0.5372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C357 #5768D4
analogous
#D48457 #D4C357 #A6D457
triadic
#D4C357 #57D4C3 #C357D4
tetradic
#D4C357 #57D484 #5768D4 #D457A6
square
#D4C357 #57D484 #5768D4 #D457A6
split-complementary
#D4C357 #57A6D4 #8457D4
monochromatic
#8D7E24 #BDAA30 #D4C357 #E0D488 #EDE6B8

Accessibility & contrast

On white

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

On black

11.74
#D4C357 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C357
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C357#FFFFFF#000000##000000
##D4C3571.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE4C
Deuteranopia (green-blind)
#D8C55C
Tritanopia (blue-blind)
#E3B6AB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d4c357;
/* rgb */ color: rgb(212, 195, 87);
/* oklch */ color: oklch(81.0% 0.130 100.4);
Tailwind
colors: {
  custom: {
    50: '#e4d48a',
    500: '#d4c357',
    950: '#000000',
  },
}
SCSS
$custom: #d4c357;
$custom-light: #e4d48a;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c357",
  "rgb": {
    "r": 212,
    "g": 195,
    "b": 87
  },
  "hsl": {
    "h": 51.84,
    "s": 59.242,
    "l": 58.627
  },
  "oklch": {
    "l": 0.81044,
    "c": 0.12966,
    "h": 100.4
  },
  "luminance": 0.53715
}

Semantic roles & 50–950 ramp

primary
#D4C357
secondary
#3D4893
accent
#5BE245
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D4C357

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

Preview Lab → · Contrast checker → · Palette generator →

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