#D1CA4D#D1CA4D

#D1CA4D is a very light, vivid yellow. Relative luminance 0.563; OKLCH L 82.2% C 0.144 H 106.1°. Best body text is #000000 at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#D1CA4D
RGBrgb(209, 202, 77)
HSLhsl(57, 59%, 56%)
HSVhsv(57, 63%, 82%)
CMYKcmyk(0%, 3.3%, 63.2%, 18%)
CIE-LABlab(79.80, -12.69, 61.14)
CIE-LCHlch(79.80, 62.45, 101.73°)
OKLaboklab(82.15% -0.0401 0.1388)
OKLCHoklch(82.15% 0.144 106.1)
XYZxyz(48.7563, 56.3338, 15.3250)
Luminance0.5633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CA4D #4D54D1
analogous
#D1884D #D1CA4D #96D14D
triadic
#D1CA4D #4DD1CA #CA4DD1
tetradic
#D1CA4D #4DD188 #4D54D1 #D14D96
square
#D1CA4D #4DD188 #4D54D1 #D14D96
split-complementary
#D1CA4D #4D96D1 #884DD1
monochromatic
#827D22 #B3AC2E #D1CA4D #DED87E #EAE7AE

Accessibility & contrast

On white

1.71
#D1CA4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.27
#D1CA4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CA4D
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CA4D#FFFFFF#000000##000000
##D1CA4D1.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC33D
Deuteranopia (green-blind)
#DDC854
Tritanopia (blue-blind)
#E0BDB0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d1ca4d;
/* rgb */ color: rgb(209, 202, 77);
/* oklch */ color: oklch(82.2% 0.144 106.1);
Tailwind
colors: {
  custom: {
    50: '#e2d985',
    500: '#d1ca4d',
    950: '#000000',
  },
}
SCSS
$custom: #d1ca4d;
$custom-light: #e2d985;
$custom-dark: #000000;
JSON
{
  "hex": "#d1ca4d",
  "rgb": {
    "r": 209,
    "g": 202,
    "b": 77
  },
  "hsl": {
    "h": 56.818,
    "s": 58.929,
    "l": 56.078
  },
  "oklch": {
    "l": 0.82152,
    "c": 0.14444,
    "h": 106.1
  },
  "luminance": 0.56332
}

Semantic roles & 50–950 ramp

primary
#D1CA4D
secondary
#393D89
accent
#4EE246
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1CA4D

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

Preview Lab → · Contrast checker → · Palette generator →

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