#D4CD4E#D4CD4E

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

Color values

HEX#D4CD4E
RGBrgb(212, 205, 78)
HSLhsl(57, 61%, 57%)
HSVhsv(57, 63%, 83%)
CMYKcmyk(0%, 3.3%, 63.2%, 16.9%)
CIE-LABlab(80.86, -12.89, 61.92)
CIE-LCHlch(80.86, 63.25, 101.76°)
OKLaboklab(83.05% -0.0407 0.1405)
OKLCHoklch(83.05% 0.146 106.2)
XYZxyz(50.3596, 58.2114, 15.7894)
Luminance0.5821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CD4E #4E55D4
analogous
#D48A4E #D4CD4E #98D44E
triadic
#D4CD4E #4ED4CD #CD4ED4
tetradic
#D4CD4E #4ED48A #4E55D4 #D44E98
square
#D4CD4E #4ED48A #4E55D4 #D44E98
split-complementary
#D4CD4E #4E98D4 #8A4ED4
monochromatic
#878221 #B8B12D #D4CD4E #E0DB7F #ECE9B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4CD4E#FFFFFF#000000##000000
##D4CD4E1.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)
#DEC63E
Deuteranopia (green-blind)
#E1CB56
Tritanopia (blue-blind)
#E3C0B3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d4cd4e;
/* rgb */ color: rgb(212, 205, 78);
/* oklch */ color: oklch(83.1% 0.146 106.2);
Tailwind
colors: {
  custom: {
    50: '#e4dc85',
    500: '#d4cd4e',
    950: '#000000',
  },
}
SCSS
$custom: #d4cd4e;
$custom-light: #e4dc85;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cd4e",
  "rgb": {
    "r": 212,
    "g": 205,
    "b": 78
  },
  "hsl": {
    "h": 56.866,
    "s": 60.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.83053,
    "c": 0.14625,
    "h": 106.2
  },
  "luminance": 0.5821
}

Semantic roles & 50–950 ramp

primary
#D4CD4E
secondary
#393D8D
accent
#4CE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D4CD4E

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

Preview Lab → · Contrast checker → · Palette generator →

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