#D1CD49#D1CD49

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

Color values

HEX#D1CD49
RGBrgb(209, 205, 73)
HSLhsl(58, 60%, 55%)
HSVhsv(58, 65%, 82%)
CMYKcmyk(0%, 1.9%, 65.1%, 18%)
CIE-LABlab(80.57, -14.44, 63.58)
CIE-LCHlch(80.57, 65.20, 102.80°)
OKLaboklab(82.75% -0.0454 0.1433)
OKLCHoklch(82.75% 0.15 107.6)
XYZxyz(49.3301, 57.7006, 14.8408)
Luminance0.5770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CD49 #494DD1
analogous
#D18949 #D1CD49 #91D149
triadic
#D1CD49 #49D1CD #CD49D1
tetradic
#D1CD49 #49D189 #494DD1 #D14991
square
#D1CD49 #49D189 #494DD1 #D14991
split-complementary
#D1CD49 #4991D1 #8949D1
monochromatic
#7F7D20 #B0AC2D #D1CD49 #DDDA7A #EAE8AB

Accessibility & contrast

On white

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

On black

12.54
#D1CD49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CD49
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CD49#FFFFFF#000000##000000
##D1CD491.001.6712.5412.54
#FFFFFF1.671.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1cd49;
/* rgb */ color: rgb(209, 205, 73);
/* oklch */ color: oklch(82.8% 0.150 107.6);
Tailwind
colors: {
  custom: {
    50: '#e2dc82',
    500: '#d1cd49',
    950: '#000000',
  },
}
SCSS
$custom: #d1cd49;
$custom-light: #e2dc82;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cd49",
  "rgb": {
    "r": 209,
    "g": 205,
    "b": 73
  },
  "hsl": {
    "h": 58.235,
    "s": 59.649,
    "l": 55.294
  },
  "oklch": {
    "l": 0.82754,
    "c": 0.15033,
    "h": 107.6
  },
  "luminance": 0.57699
}

Semantic roles & 50–950 ramp

primary
#D1CD49
secondary
#373A87
accent
#4AE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1CD49

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

Preview Lab → · Contrast checker → · Palette generator →

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