#D1CD4E#D1CD4E

#D1CD4E is a very light, vivid yellow. Relative luminance 0.578; OKLCH L 82.8% C 0.147 H 107.5°. Best body text is #000000 at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#D1CD4E
RGBrgb(209, 205, 78)
HSLhsl(58, 59%, 56%)
HSVhsv(58, 63%, 82%)
CMYKcmyk(0%, 1.9%, 62.7%, 18%)
CIE-LABlab(80.61, -14.14, 61.58)
CIE-LCHlch(80.61, 63.19, 102.93°)
OKLaboklab(82.8% -0.044 0.1399)
OKLCHoklch(82.8% 0.147 107.5)
XYZxyz(49.5026, 57.7696, 15.7493)
Luminance0.5777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CD4E #4E52D1
analogous
#D18C4E #D1CD4E #94D14E
triadic
#D1CD4E #4ED1CD #CD4ED1
tetradic
#D1CD4E #4ED18C #4E52D1 #D14E94
square
#D1CD4E #4ED18C #4E52D1 #D14E94
split-complementary
#D1CD4E #4E94D1 #8C4ED1
monochromatic
#838022 #B3AF2F #D1CD4E #DEDB7F #EAE8AF

Accessibility & contrast

On white

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

On black

12.55
#D1CD4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CD4E
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CD4E#FFFFFF#000000##000000
##D1CD4E1.001.6712.5512.55
#FFFFFF1.671.0021.0021.00
#00000012.5521.001.001.00
##00000012.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC53E
Deuteranopia (green-blind)
#E0CA56
Tritanopia (blue-blind)
#DFC0B3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d1cd4e;
/* rgb */ color: rgb(209, 205, 78);
/* oklch */ color: oklch(82.8% 0.147 107.5);
Tailwind
colors: {
  custom: {
    50: '#e2dc85',
    500: '#d1cd4e',
    950: '#000000',
  },
}
SCSS
$custom: #d1cd4e;
$custom-light: #e2dc85;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cd4e",
  "rgb": {
    "r": 209,
    "g": 205,
    "b": 78
  },
  "hsl": {
    "h": 58.168,
    "s": 58.744,
    "l": 56.275
  },
  "oklch": {
    "l": 0.82797,
    "c": 0.14662,
    "h": 107.5
  },
  "luminance": 0.57768
}

Semantic roles & 50–950 ramp

primary
#D1CD4E
secondary
#393C8A
accent
#4BE246
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1CD4E

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

Preview Lab → · Contrast checker → · Palette generator →

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