#D4CD51#D4CD51

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

Color values

HEX#D4CD51
RGBrgb(212, 205, 81)
HSLhsl(57, 60%, 57%)
HSVhsv(57, 62%, 83%)
CMYKcmyk(0%, 3.3%, 61.8%, 16.9%)
CIE-LABlab(80.88, -12.70, 60.69)
CIE-LCHlch(80.88, 62.01, 101.82°)
OKLaboklab(83.08% -0.0398 0.1383)
OKLCHoklch(83.08% 0.144 106.1)
XYZxyz(50.4696, 58.2554, 16.3689)
Luminance0.5825 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CD51 #5158D4
analogous
#D48C51 #D4CD51 #99D451
triadic
#D4CD51 #51D4CD #CD51D4
tetradic
#D4CD51 #51D48C #5158D4 #D45199
square
#D4CD51 #51D48C #5158D4 #D45199
split-complementary
#D4CD51 #5199D4 #8C51D4
monochromatic
#898322 #BAB22E #D4CD51 #E0DB82 #ECE9B3

Accessibility & contrast

On white

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

On black

12.65
#D4CD51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CD51
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CD51#FFFFFF#000000##000000
##D4CD511.001.6612.6512.65
#FFFFFF1.661.0021.0021.00
#00000012.6521.001.001.00
##00000012.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC642
Deuteranopia (green-blind)
#E0CB58
Tritanopia (blue-blind)
#E3C0B3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d4cd51;
/* rgb */ color: rgb(212, 205, 81);
/* oklch */ color: oklch(83.1% 0.144 106.1);
Tailwind
colors: {
  custom: {
    50: '#e4dc87',
    500: '#d4cd51',
    950: '#000000',
  },
}
SCSS
$custom: #d4cd51;
$custom-light: #e4dc87;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cd51",
  "rgb": {
    "r": 212,
    "g": 205,
    "b": 81
  },
  "hsl": {
    "h": 56.794,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.8308,
    "c": 0.14393,
    "h": 106.1
  },
  "luminance": 0.58254
}

Semantic roles & 50–950 ramp

primary
#D4CD51
secondary
#3A3F8F
accent
#4DE444
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D4CD51

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

Preview Lab → · Contrast checker → · Palette generator →

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