#D1CD43#D1CD43

#D1CD43 is a very light, vivid yellow. Relative luminance 0.576; OKLCH L 82.7% C 0.154 H 107.7°. Best body text is #000000 at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#D1CD43
RGBrgb(209, 205, 67)
HSLhsl(58, 61%, 54%)
HSVhsv(58, 68%, 82%)
CMYKcmyk(0%, 1.9%, 67.9%, 18%)
CIE-LABlab(80.53, -14.77, 65.86)
CIE-LCHlch(80.53, 67.50, 102.64°)
OKLaboklab(82.71% -0.047 0.1472)
OKLCHoklch(82.71% 0.154 107.7)
XYZxyz(49.1407, 57.6248, 13.8433)
Luminance0.5762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CD43 #4347D1
analogous
#D18643 #D1CD43 #8ED143
triadic
#D1CD43 #43D1CD #CD43D1
tetradic
#D1CD43 #43D186 #4347D1 #D1438E
square
#D1CD43 #43D186 #4347D1 #D1438E
split-complementary
#D1CD43 #438ED1 #8643D1
monochromatic
#7B791E #ADA92A #D1CD43 #DDDA74 #E9E7A5

Accessibility & contrast

On white

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

On black

12.52
#D1CD43 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CD43
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CD43#FFFFFF#000000##000000
##D1CD431.001.6812.5212.52
#FFFFFF1.681.0021.0021.00
#00000012.5221.001.001.00
##00000012.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC52E
Deuteranopia (green-blind)
#E0CA4C
Tritanopia (blue-blind)
#E0C0B1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d1cd43;
/* rgb */ color: rgb(209, 205, 67);
/* oklch */ color: oklch(82.7% 0.154 107.7);
Tailwind
colors: {
  custom: {
    50: '#e3dc7f',
    500: '#d1cd43',
    950: '#000000',
  },
}
SCSS
$custom: #d1cd43;
$custom-light: #e3dc7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cd43",
  "rgb": {
    "r": 209,
    "g": 205,
    "b": 67
  },
  "hsl": {
    "h": 58.31,
    "s": 60.684,
    "l": 54.118
  },
  "oklch": {
    "l": 0.82707,
    "c": 0.15448,
    "h": 107.7
  },
  "luminance": 0.57623
}

Semantic roles & 50–950 ramp

primary
#D1CD43
secondary
#353783
accent
#48E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1CD43

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

Preview Lab → · Contrast checker → · Palette generator →

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