#D4CD4C#D4CD4C

#D4CD4C is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 83.0% C 0.148 H 106.2°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#D4CD4C
RGBrgb(212, 205, 76)
HSLhsl(57, 61%, 56%)
HSVhsv(57, 64%, 83%)
CMYKcmyk(0%, 3.3%, 64.2%, 16.9%)
CIE-LABlab(80.84, -13.01, 62.72)
CIE-LCHlch(80.84, 64.06, 101.72°)
OKLaboklab(83.04% -0.0412 0.1419)
OKLCHoklch(83.04% 0.148 106.2)
XYZxyz(50.2890, 58.1832, 15.4175)
Luminance0.5818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CD4C #4C53D4
analogous
#D4894C #D4CD4C #97D44C
triadic
#D4CD4C #4CD4CD #CD4CD4
tetradic
#D4CD4C #4CD489 #4C53D4 #D44C97
square
#D4CD4C #4CD489 #4C53D4 #D44C97
split-complementary
#D4CD4C #4C97D4 #894CD4
monochromatic
#868020 #B7B02C #D4CD4C #E0DB7D #ECE9AF

Accessibility & contrast

On white

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

On black

12.64
#D4CD4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CD4C
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CD4C#FFFFFF#000000##000000
##D4CD4C1.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC63B
Deuteranopia (green-blind)
#E1CB54
Tritanopia (blue-blind)
#E3C0B2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d4cd4c;
/* rgb */ color: rgb(212, 205, 76);
/* oklch */ color: oklch(83.0% 0.148 106.2);
Tailwind
colors: {
  custom: {
    50: '#e4dc84',
    500: '#d4cd4c',
    950: '#000000',
  },
}
SCSS
$custom: #d4cd4c;
$custom-light: #e4dc84;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cd4c",
  "rgb": {
    "r": 212,
    "g": 205,
    "b": 76
  },
  "hsl": {
    "h": 56.912,
    "s": 61.261,
    "l": 56.471
  },
  "oklch": {
    "l": 0.83035,
    "c": 0.14775,
    "h": 106.2
  },
  "luminance": 0.58181
}

Semantic roles & 50–950 ramp

primary
#D4CD4C
secondary
#383C8C
accent
#4CE443
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D4CD4C

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

Preview Lab → · Contrast checker → · Palette generator →

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