#D4C857#D4C857

#D4C857 is a very light, vivid yellow. Relative luminance 0.560; OKLCH L 82.1% C 0.134 H 103.3°. Best body text is #000000 at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#D4C857
RGBrgb(212, 200, 87)
HSLhsl(54, 59%, 59%)
HSVhsv(54, 59%, 83%)
CMYKcmyk(0%, 5.7%, 59%, 16.9%)
CIE-LABlab(79.61, -9.77, 56.70)
CIE-LCHlch(79.61, 57.54, 99.77°)
OKLaboklab(82.09% -0.0308 0.1306)
OKLCHoklch(82.09% 0.134 103.3)
XYZxyz(49.5277, 55.9955, 17.2143)
Luminance0.5599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C857 #5763D4
analogous
#D48957 #D4C857 #A1D457
triadic
#D4C857 #57D4C8 #C857D4
tetradic
#D4C857 #57D489 #5763D4 #D457A1
square
#D4C857 #57D489 #5763D4 #D457A1
split-complementary
#D4C857 #57A1D4 #8957D4
monochromatic
#8D8324 #BDB030 #D4C857 #E0D888 #EDE8B8

Accessibility & contrast

On white

1.72
#D4C857 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.20
#D4C857 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C857
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C857#FFFFFF#000000##000000
##D4C8571.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C24B
Deuteranopia (green-blind)
#DCC85D
Tritanopia (blue-blind)
#E3BCAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d4c857;
/* rgb */ color: rgb(212, 200, 87);
/* oklch */ color: oklch(82.1% 0.134 103.3);
Tailwind
colors: {
  custom: {
    50: '#e4d88a',
    500: '#d4c857',
    950: '#000000',
  },
}
SCSS
$custom: #d4c857;
$custom-light: #e4d88a;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c857",
  "rgb": {
    "r": 212,
    "g": 200,
    "b": 87
  },
  "hsl": {
    "h": 54.24,
    "s": 59.242,
    "l": 58.627
  },
  "oklch": {
    "l": 0.82087,
    "c": 0.13422,
    "h": 103.3
  },
  "luminance": 0.55994
}

Semantic roles & 50–950 ramp

primary
#D4C857
secondary
#3D4593
accent
#54E245
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D4C857

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

Preview Lab → · Contrast checker → · Palette generator →

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