#D1CA72#D1CA72

#D1CA72 is a very light, moderate yellow. Relative luminance 0.570; OKLCH L 82.6% C 0.111 H 104.5°. Best body text is #000000 at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#D1CA72
RGBrgb(209, 202, 114)
HSLhsl(56, 51%, 63%)
HSVhsv(56, 45%, 82%)
CMYKcmyk(0%, 3.3%, 45.5%, 18%)
CIE-LABlab(80.19, -9.75, 44.59)
CIE-LCHlch(80.19, 45.64, 102.34°)
OKLaboklab(82.58% -0.0277 0.107)
OKLCHoklch(82.58% 0.111 104.5)
XYZxyz(50.4534, 57.0127, 24.2631)
Luminance0.5701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CA72 #7279D1
analogous
#D19A72 #D1CA72 #A8D172
triadic
#D1CA72 #72D1CA #CA72D1
tetradic
#D1CA72 #72D19A #7279D1 #D172A8
square
#D1CA72 #72D19A #7279D1 #D172A8
split-complementary
#D1CA72 #72A8D1 #9A72D1
monochromatic
#979031 #C2B944 #D1CA72 #E0DBA0 #EFEDCE

Accessibility & contrast

On white

1.69
#D1CA72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.40
#D1CA72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CA72
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CA72#FFFFFF#000000##000000
##D1CA721.001.6912.4012.40
#FFFFFF1.691.0021.0021.00
#00000012.4021.001.001.00
##00000012.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C46B
Deuteranopia (green-blind)
#DAC976
Tritanopia (blue-blind)
#DDC0B5
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d1ca72;
/* rgb */ color: rgb(209, 202, 114);
/* oklch */ color: oklch(82.6% 0.111 104.5);
Tailwind
colors: {
  custom: {
    50: '#e1da9c',
    500: '#d1ca72',
    950: '#000000',
  },
}
SCSS
$custom: #d1ca72;
$custom-light: #e1da9c;
$custom-dark: #000000;
JSON
{
  "hex": "#d1ca72",
  "rgb": {
    "r": 209,
    "g": 202,
    "b": 114
  },
  "hsl": {
    "h": 55.579,
    "s": 50.802,
    "l": 63.333
  },
  "oklch": {
    "l": 0.8258,
    "c": 0.11051,
    "h": 104.5
  },
  "luminance": 0.57011
}

Semantic roles & 50–950 ramp

primary
#D1CA72
secondary
#4A519D
accent
#32BE27
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #D1CA72

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

Preview Lab → · Contrast checker → · Palette generator →

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