#D1CC4A#D1CC4A

#D1CC4A is a very light, vivid yellow. Relative luminance 0.572; OKLCH L 82.5% C 0.149 H 107.1°. Best body text is #000000 at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#D1CC4A
RGBrgb(209, 204, 74)
HSLhsl(58, 59%, 55%)
HSVhsv(58, 65%, 82%)
CMYKcmyk(0%, 2.4%, 64.6%, 18%)
CIE-LABlab(80.31, -13.88, 62.91)
CIE-LCHlch(80.31, 64.42, 102.44°)
OKLaboklab(82.55% -0.0437 0.142)
OKLCHoklch(82.55% 0.149 107.1)
XYZxyz(49.1251, 57.2370, 14.9374)
Luminance0.5724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CC4A #4A4FD1
analogous
#D1894A #D1CC4A #92D14A
triadic
#D1CC4A #4AD1CC #CC4AD1
tetradic
#D1CC4A #4AD189 #4A4FD1 #D14A92
square
#D1CC4A #4AD189 #4A4FD1 #D14A92
split-complementary
#D1CC4A #4A92D1 #894AD1
monochromatic
#807D21 #B1AC2D #D1CC4A #DDDA7B #EAE7AC

Accessibility & contrast

On white

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

On black

12.45
#D1CC4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CC4A
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CC4A#FFFFFF#000000##000000
##D1CC4A1.001.6912.4512.45
#FFFFFF1.691.0021.0021.00
#00000012.4521.001.001.00
##00000012.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC439
Deuteranopia (green-blind)
#DFCA52
Tritanopia (blue-blind)
#E0BFB1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d1cc4a;
/* rgb */ color: rgb(209, 204, 74);
/* oklch */ color: oklch(82.5% 0.149 107.1);
Tailwind
colors: {
  custom: {
    50: '#e2db83',
    500: '#d1cc4a',
    950: '#000000',
  },
}
SCSS
$custom: #d1cc4a;
$custom-light: #e2db83;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cc4a",
  "rgb": {
    "r": 209,
    "g": 204,
    "b": 74
  },
  "hsl": {
    "h": 57.778,
    "s": 59.471,
    "l": 55.49
  },
  "oklch": {
    "l": 0.8255,
    "c": 0.14862,
    "h": 107.1
  },
  "luminance": 0.57235
}

Semantic roles & 50–950 ramp

primary
#D1CC4A
secondary
#383B87
accent
#4BE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1CC4A

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

Preview Lab → · Contrast checker → · Palette generator →

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