#D1CD4A#D1CD4A

#D1CD4A is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 82.8% C 0.150 H 107.6°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#D1CD4A
RGBrgb(209, 205, 74)
HSLhsl(58, 59%, 55%)
HSVhsv(58, 65%, 82%)
CMYKcmyk(0%, 1.9%, 64.6%, 18%)
CIE-LABlab(80.58, -14.38, 63.18)
CIE-LCHlch(80.58, 64.80, 102.82°)
OKLaboklab(82.76% -0.0452 0.1426)
OKLCHoklch(82.76% 0.15 107.6)
XYZxyz(49.3636, 57.7139, 15.0169)
Luminance0.5771 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CD4A #4A4ED1
analogous
#D1894A #D1CD4A #91D14A
triadic
#D1CD4A #4AD1CD #CD4AD1
tetradic
#D1CD4A #4AD189 #4A4ED1 #D14A91
square
#D1CD4A #4AD189 #4A4ED1 #D14A91
split-complementary
#D1CD4A #4A91D1 #894AD1
monochromatic
#807D21 #B1AD2D #D1CD4A #DDDA7B #EAE8AC

Accessibility & contrast

On white

1.67
#D1CD4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.54
#D1CD4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CD4A
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CD4A#FFFFFF#000000##000000
##D1CD4A1.001.6712.5412.54
#FFFFFF1.671.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC538
Deuteranopia (green-blind)
#E0CA52
Tritanopia (blue-blind)
#DFC0B2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d1cd4a;
/* rgb */ color: rgb(209, 205, 74);
/* oklch */ color: oklch(82.8% 0.150 107.6);
Tailwind
colors: {
  custom: {
    50: '#e2dc83',
    500: '#d1cd4a',
    950: '#000000',
  },
}
SCSS
$custom: #d1cd4a;
$custom-light: #e2dc83;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cd4a",
  "rgb": {
    "r": 209,
    "g": 205,
    "b": 74
  },
  "hsl": {
    "h": 58.222,
    "s": 59.471,
    "l": 55.49
  },
  "oklch": {
    "l": 0.82763,
    "c": 0.14961,
    "h": 107.6
  },
  "luminance": 0.57712
}

Semantic roles & 50–950 ramp

primary
#D1CD4A
secondary
#383A87
accent
#4AE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1CD4A

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

Preview Lab → · Contrast checker → · Palette generator →

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