#D1CD4D#D1CD4D

#D1CD4D 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#D1CD4D
RGBrgb(209, 205, 77)
HSLhsl(58, 59%, 56%)
HSVhsv(58, 63%, 82%)
CMYKcmyk(0%, 1.9%, 63.2%, 18%)
CIE-LABlab(80.60, -14.20, 61.99)
CIE-LCHlch(80.60, 63.59, 102.90°)
OKLaboklab(82.79% -0.0443 0.1406)
OKLCHoklch(82.79% 0.147 107.5)
XYZxyz(49.4670, 57.7553, 15.5619)
Luminance0.5775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CD4D #4D51D1
analogous
#D18B4D #D1CD4D #93D14D
triadic
#D1CD4D #4DD1CD #CD4DD1
tetradic
#D1CD4D #4DD18B #4D51D1 #D14D93
square
#D1CD4D #4DD18B #4D51D1 #D14D93
split-complementary
#D1CD4D #4D93D1 #8B4DD1
monochromatic
#827F22 #B3AF2E #D1CD4D #DEDB7E #EAE8AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1CD4D#FFFFFF#000000##000000
##D1CD4D1.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)
#DDC53D
Deuteranopia (green-blind)
#E0CA55
Tritanopia (blue-blind)
#DFC0B2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d1cd4d;
/* rgb */ color: rgb(209, 205, 77);
/* oklch */ color: oklch(82.8% 0.147 107.5);
Tailwind
colors: {
  custom: {
    50: '#e2dc85',
    500: '#d1cd4d',
    950: '#000000',
  },
}
SCSS
$custom: #d1cd4d;
$custom-light: #e2dc85;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cd4d",
  "rgb": {
    "r": 209,
    "g": 205,
    "b": 77
  },
  "hsl": {
    "h": 58.182,
    "s": 58.929,
    "l": 56.078
  },
  "oklch": {
    "l": 0.82789,
    "c": 0.14738,
    "h": 107.5
  },
  "luminance": 0.57754
}

Semantic roles & 50–950 ramp

primary
#D1CD4D
secondary
#393B89
accent
#4AE246
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1CD4D

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

Preview Lab → · Contrast checker → · Palette generator →

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