#D1CC46#D1CC46

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

Color values

HEX#D1CC46
RGBrgb(209, 204, 70)
HSLhsl(58, 60%, 55%)
HSVhsv(58, 67%, 82%)
CMYKcmyk(0%, 2.4%, 66.5%, 18%)
CIE-LABlab(80.28, -14.11, 64.46)
CIE-LCHlch(80.28, 65.99, 102.35°)
OKLaboklab(82.52% -0.0448 0.1447)
OKLCHoklch(82.52% 0.151 107.2)
XYZxyz(48.9946, 57.1848, 14.2501)
Luminance0.5718 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CC46 #464BD1
analogous
#D18746 #D1CC46 #90D146
triadic
#D1CC46 #46D1CC #CC46D1
tetradic
#D1CC46 #46D187 #464BD1 #D14690
square
#D1CC46 #46D187 #464BD1 #D14690
split-complementary
#D1CC46 #4690D1 #8746D1
monochromatic
#7D7A1F #AEAA2B #D1CC46 #DDDA77 #E9E7A8

Accessibility & contrast

On white

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

On black

12.44
#D1CC46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CC46
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CC46#FFFFFF#000000##000000
##D1CC461.001.6912.4412.44
#FFFFFF1.691.0021.0021.00
#00000012.4421.001.001.00
##00000012.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1cc46;
/* rgb */ color: rgb(209, 204, 70);
/* oklch */ color: oklch(82.5% 0.151 107.2);
Tailwind
colors: {
  custom: {
    50: '#e2db81',
    500: '#d1cc46',
    950: '#000000',
  },
}
SCSS
$custom: #d1cc46;
$custom-light: #e2db81;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cc46",
  "rgb": {
    "r": 209,
    "g": 204,
    "b": 70
  },
  "hsl": {
    "h": 57.842,
    "s": 60.173,
    "l": 54.706
  },
  "oklch": {
    "l": 0.82518,
    "c": 0.15148,
    "h": 107.2
  },
  "luminance": 0.57183
}

Semantic roles & 50–950 ramp

primary
#D1CC46
secondary
#363985
accent
#4AE344
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1CC46

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

Preview Lab → · Contrast checker → · Palette generator →

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