#D1CD46#D1CD46

#D1CD46 is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 82.7% C 0.152 H 107.6°. Best body text is #000000 at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#D1CD46
RGBrgb(209, 205, 70)
HSLhsl(58, 60%, 55%)
HSVhsv(58, 67%, 82%)
CMYKcmyk(0%, 1.9%, 66.5%, 18%)
CIE-LABlab(80.55, -14.61, 64.73)
CIE-LCHlch(80.55, 66.36, 102.72°)
OKLaboklab(82.73% -0.0462 0.1453)
OKLCHoklch(82.73% 0.152 107.6)
XYZxyz(49.2331, 57.6617, 14.3296)
Luminance0.5766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CD46 #464AD1
analogous
#D18746 #D1CD46 #90D146
triadic
#D1CD46 #46D1CD #CD46D1
tetradic
#D1CD46 #46D187 #464AD1 #D14690
square
#D1CD46 #46D187 #464AD1 #D14690
split-complementary
#D1CD46 #4690D1 #8746D1
monochromatic
#7D7B1F #AEAB2B #D1CD46 #DDDA77 #E9E7A8

Accessibility & contrast

On white

1.68
#D1CD46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.53
#D1CD46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CD46
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CD46#FFFFFF#000000##000000
##D1CD461.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC533
Deuteranopia (green-blind)
#E0CA4F
Tritanopia (blue-blind)
#E0C0B2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d1cd46;
/* rgb */ color: rgb(209, 205, 70);
/* oklch */ color: oklch(82.7% 0.152 107.6);
Tailwind
colors: {
  custom: {
    50: '#e2dc81',
    500: '#d1cd46',
    950: '#000000',
  },
}
SCSS
$custom: #d1cd46;
$custom-light: #e2dc81;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cd46",
  "rgb": {
    "r": 209,
    "g": 205,
    "b": 70
  },
  "hsl": {
    "h": 58.273,
    "s": 60.173,
    "l": 54.706
  },
  "oklch": {
    "l": 0.8273,
    "c": 0.15245,
    "h": 107.6
  },
  "luminance": 0.5766
}

Semantic roles & 50–950 ramp

primary
#D1CD46
secondary
#363885
accent
#49E344
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1CD46

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

Preview Lab → · Contrast checker → · Palette generator →

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