#D4CD57#D4CD57

#D4CD57 is a very light, vivid yellow. Relative luminance 0.583; OKLCH L 83.1% C 0.139 H 105.9°. Best body text is #000000 at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#D4CD57
RGBrgb(212, 205, 87)
HSLhsl(57, 59%, 59%)
HSVhsv(57, 59%, 83%)
CMYKcmyk(0%, 3.3%, 59%, 16.9%)
CIE-LABlab(80.93, -12.30, 58.16)
CIE-LCHlch(80.93, 59.45, 101.94°)
OKLaboklab(83.14% -0.038 0.1338)
OKLCHoklch(83.14% 0.139 105.9)
XYZxyz(50.7047, 58.3495, 17.6066)
Luminance0.5835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CD57 #575ED4
analogous
#D48E57 #D4CD57 #9CD457
triadic
#D4CD57 #57D4CD #CD57D4
tetradic
#D4CD57 #57D48E #575ED4 #D4579C
square
#D4CD57 #57D48E #575ED4 #D4579C
split-complementary
#D4CD57 #579CD4 #8E57D4
monochromatic
#8D8724 #BDB530 #D4CD57 #E0DC88 #EDEAB8

Accessibility & contrast

On white

1.66
#D4CD57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.67
#D4CD57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CD57
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CD57#FFFFFF#000000##000000
##D4CD571.001.6612.6712.67
#FFFFFF1.661.0021.0021.00
#00000012.6721.001.001.00
##00000012.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC64A
Deuteranopia (green-blind)
#E0CB5E
Tritanopia (blue-blind)
#E2C1B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d4cd57;
/* rgb */ color: rgb(212, 205, 87);
/* oklch */ color: oklch(83.1% 0.139 105.9);
Tailwind
colors: {
  custom: {
    50: '#e4dc8b',
    500: '#d4cd57',
    950: '#000000',
  },
}
SCSS
$custom: #d4cd57;
$custom-light: #e4dc8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cd57",
  "rgb": {
    "r": 212,
    "g": 205,
    "b": 87
  },
  "hsl": {
    "h": 56.64,
    "s": 59.242,
    "l": 58.627
  },
  "oklch": {
    "l": 0.83138,
    "c": 0.13906,
    "h": 105.9
  },
  "luminance": 0.58348
}

Semantic roles & 50–950 ramp

primary
#D4CD57
secondary
#3D4193
accent
#4EE245
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D4CD57

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

Preview Lab → · Contrast checker → · Palette generator →

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