#D4CC57#D4CC57

#D4CC57 is a very light, vivid yellow. Relative luminance 0.579; OKLCH L 82.9% C 0.138 H 105.4°. Best body text is #000000 at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#D4CC57
RGBrgb(212, 204, 87)
HSLhsl(56, 59%, 59%)
HSVhsv(56, 59%, 83%)
CMYKcmyk(0%, 3.8%, 59%, 16.9%)
CIE-LABlab(80.67, -11.79, 57.87)
CIE-LCHlch(80.67, 59.06, 101.52°)
OKLaboklab(82.93% -0.0366 0.1331)
OKLCHoklch(82.93% 0.138 105.4)
XYZxyz(50.4662, 57.8726, 17.5271)
Luminance0.5787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CC57 #575FD4
analogous
#D48D57 #D4CC57 #9DD457
triadic
#D4CC57 #57D4CC #CC57D4
tetradic
#D4CC57 #57D48D #575FD4 #D4579D
square
#D4CC57 #57D48D #575FD4 #D4579D
split-complementary
#D4CC57 #579DD4 #8D57D4
monochromatic
#8D8624 #BDB430 #D4CC57 #E0DB88 #EDEAB8

Accessibility & contrast

On white

1.67
#D4CC57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.57
#D4CC57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CC57
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CC57#FFFFFF#000000##000000
##D4CC571.001.6712.5712.57
#FFFFFF1.671.0021.0021.00
#00000012.5721.001.001.00
##00000012.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC54A
Deuteranopia (green-blind)
#DFCB5D
Tritanopia (blue-blind)
#E2C0B3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d4cc57;
/* rgb */ color: rgb(212, 204, 87);
/* oklch */ color: oklch(82.9% 0.138 105.4);
Tailwind
colors: {
  custom: {
    50: '#e4db8b',
    500: '#d4cc57',
    950: '#000000',
  },
}
SCSS
$custom: #d4cc57;
$custom-light: #e4db8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cc57",
  "rgb": {
    "r": 212,
    "g": 204,
    "b": 87
  },
  "hsl": {
    "h": 56.16,
    "s": 59.242,
    "l": 58.627
  },
  "oklch": {
    "l": 0.82927,
    "c": 0.13808,
    "h": 105.4
  },
  "luminance": 0.57871
}

Semantic roles & 50–950 ramp

primary
#D4CC57
secondary
#3D4293
accent
#4FE245
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D4CC57

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

Preview Lab → · Contrast checker → · Palette generator →

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