#D1CA78#D1CA78

#D1CA78 is a very light, moderate yellow. Relative luminance 0.572; OKLCH L 82.7% C 0.104 H 104.2°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#D1CA78
RGBrgb(209, 202, 120)
HSLhsl(55, 49%, 65%)
HSVhsv(55, 43%, 82%)
CMYKcmyk(0%, 3.3%, 42.6%, 18%)
CIE-LABlab(80.27, -9.15, 41.70)
CIE-LCHlch(80.27, 42.70, 102.38°)
OKLaboklab(82.67% -0.0255 0.1009)
OKLCHoklch(82.67% 0.104 104.2)
XYZxyz(50.8062, 57.1538, 26.1211)
Luminance0.5715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CA78 #787FD1
analogous
#D19E78 #D1CA78 #ACD178
triadic
#D1CA78 #78D1CA #CA78D1
tetradic
#D1CA78 #78D19E #787FD1 #D178AC
square
#D1CA78 #78D19E #787FD1 #D178AC
split-complementary
#D1CA78 #78ACD1 #9E78D1
monochromatic
#9A9235 #C1B84A #D1CA78 #E1DCA6 #F0EED3

Accessibility & contrast

On white

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

On black

12.43
#D1CA78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CA78
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CA78#FFFFFF#000000##000000
##D1CA781.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C571
Deuteranopia (green-blind)
#DAC97B
Tritanopia (blue-blind)
#DDC0B6
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d1ca78;
/* rgb */ color: rgb(209, 202, 120);
/* oklch */ color: oklch(82.7% 0.104 104.2);
Tailwind
colors: {
  custom: {
    50: '#e0daa0',
    500: '#d1ca78',
    950: '#000000',
  },
}
SCSS
$custom: #d1ca78;
$custom-light: #e0daa0;
$custom-dark: #000000;
JSON
{
  "hex": "#d1ca78",
  "rgb": {
    "r": 209,
    "g": 202,
    "b": 120
  },
  "hsl": {
    "h": 55.281,
    "s": 49.171,
    "l": 64.51
  },
  "oklch": {
    "l": 0.82669,
    "c": 0.10408,
    "h": 104.2
  },
  "luminance": 0.57152
}

Semantic roles & 50–950 ramp

primary
#D1CA78
secondary
#4E549F
accent
#35BC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #D1CA78

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

Preview Lab → · Contrast checker → · Palette generator →

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