#D1CD34#D1CD34

#D1CD34 is a very light, vivid yellow. Relative luminance 0.575; OKLCH L 82.6% C 0.163 H 107.9°. Best body text is #000000 at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#D1CD34
RGBrgb(209, 205, 52)
HSLhsl(58, 63%, 51%)
HSVhsv(58, 75%, 82%)
CMYKcmyk(0%, 1.9%, 75.1%, 18%)
CIE-LABlab(80.44, -15.47, 71.00)
CIE-LCHlch(80.44, 72.66, 102.29°)
OKLaboklab(82.61% -0.0503 0.1554)
OKLCHoklch(82.61% 0.163 107.9)
XYZxyz(48.7476, 57.4675, 11.7727)
Luminance0.5747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CD34 #3438D1
analogous
#D17E34 #D1CD34 #86D134
triadic
#D1CD34 #34D1CD #CD34D1
tetradic
#D1CD34 #34D17E #3438D1 #D13486
square
#D1CD34 #34D17E #3438D1 #D13486
split-complementary
#D1CD34 #3486D1 #7E34D1
monochromatic
#716F1A #A3A025 #D1CD34 #DCD966 #E8E698

Accessibility & contrast

On white

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

On black

12.49
#D1CD34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CD34
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CD34#FFFFFF#000000##000000
##D1CD341.001.6812.4912.49
#FFFFFF1.681.0021.0021.00
#00000012.4921.001.001.00
##00000012.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC50E
Deuteranopia (green-blind)
#E1CA40
Tritanopia (blue-blind)
#E0BFB0
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d1cd34;
/* rgb */ color: rgb(209, 205, 52);
/* oklch */ color: oklch(82.6% 0.163 107.9);
Tailwind
colors: {
  custom: {
    50: '#e3db78',
    500: '#d1cd34',
    950: '#000000',
  },
}
SCSS
$custom: #d1cd34;
$custom-light: #e3db78;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cd34",
  "rgb": {
    "r": 209,
    "g": 205,
    "b": 52
  },
  "hsl": {
    "h": 58.471,
    "s": 63.052,
    "l": 51.176
  },
  "oklch": {
    "l": 0.82609,
    "c": 0.16335,
    "h": 107.9
  },
  "luminance": 0.57466
}

Semantic roles & 50–950 ramp

primary
#D1CD34
secondary
#2F317A
accent
#46E642
background
#FFFEFB
surface
#FEFBF1
border
#D6D4CB
text
#16150A
muted
#85847D

Preview Lab

Preview with #D1CD34

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

Preview Lab → · Contrast checker → · Palette generator →

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