#D1CC4E#D1CC4E

#D1CC4E is a very light, vivid yellow. Relative luminance 0.573; OKLCH L 82.6% C 0.146 H 107.0°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#D1CC4E
RGBrgb(209, 204, 78)
HSLhsl(58, 59%, 56%)
HSVhsv(58, 63%, 82%)
CMYKcmyk(0%, 2.4%, 62.7%, 18%)
CIE-LABlab(80.34, -13.64, 61.30)
CIE-LCHlch(80.34, 62.80, 102.54°)
OKLaboklab(82.59% -0.0426 0.1393)
OKLCHoklch(82.59% 0.146 107)
XYZxyz(49.2642, 57.2927, 15.6698)
Luminance0.5729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CC4E #4E53D1
analogous
#D18B4E #D1CC4E #95D14E
triadic
#D1CC4E #4ED1CC #CC4ED1
tetradic
#D1CC4E #4ED18B #4E53D1 #D14E95
square
#D1CC4E #4ED18B #4E53D1 #D14E95
split-complementary
#D1CC4E #4E95D1 #8B4ED1
monochromatic
#837F22 #B3AE2F #D1CC4E #DEDA7F #EAE8AF

Accessibility & contrast

On white

1.69
#D1CC4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.46
#D1CC4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CC4E
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CC4E#FFFFFF#000000##000000
##D1CC4E1.001.6912.4612.46
#FFFFFF1.691.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC53E
Deuteranopia (green-blind)
#DFCA56
Tritanopia (blue-blind)
#DFBFB2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d1cc4e;
/* rgb */ color: rgb(209, 204, 78);
/* oklch */ color: oklch(82.6% 0.146 107.0);
Tailwind
colors: {
  custom: {
    50: '#e2db85',
    500: '#d1cc4e',
    950: '#000000',
  },
}
SCSS
$custom: #d1cc4e;
$custom-light: #e2db85;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cc4e",
  "rgb": {
    "r": 209,
    "g": 204,
    "b": 78
  },
  "hsl": {
    "h": 57.71,
    "s": 58.744,
    "l": 56.275
  },
  "oklch": {
    "l": 0.82585,
    "c": 0.14563,
    "h": 107
  },
  "luminance": 0.57291
}

Semantic roles & 50–950 ramp

primary
#D1CC4E
secondary
#393D8A
accent
#4CE246
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1CC4E

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

Preview Lab → · Contrast checker → · Palette generator →

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