#D2CA78#D2CA78

#D2CA78 is a very light, moderate yellow. Relative luminance 0.573; OKLCH L 82.8% C 0.104 H 103.5°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#D2CA78
RGBrgb(210, 202, 120)
HSLhsl(55, 50%, 65%)
HSVhsv(55, 43%, 82%)
CMYKcmyk(0%, 3.8%, 42.9%, 17.6%)
CIE-LABlab(80.35, -8.75, 41.82)
CIE-LCHlch(80.35, 42.73, 101.82°)
OKLaboklab(82.75% -0.0244 0.1012)
OKLCHoklch(82.75% 0.104 103.5)
XYZxyz(51.0901, 57.3002, 26.1344)
Luminance0.5730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CA78 #7880D2
analogous
#D29D78 #D2CA78 #ADD278
triadic
#D2CA78 #78D2CA #CA78D2
tetradic
#D2CA78 #78D29D #7880D2 #D278AD
square
#D2CA78 #78D29D #7880D2 #D278AD
split-complementary
#D2CA78 #78ADD2 #9D78D2
monochromatic
#9C9234 #C3B84A #D2CA78 #E1DCA6 #F1EED4

Accessibility & contrast

On white

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

On black

12.46
#D2CA78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CA78
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CA78#FFFFFF#000000##000000
##D2CA781.001.6912.4612.46
#FFFFFF1.691.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2ca78;
/* rgb */ color: rgb(210, 202, 120);
/* oklch */ color: oklch(82.8% 0.104 103.5);
Tailwind
colors: {
  custom: {
    50: '#e1daa0',
    500: '#d2ca78',
    950: '#000000',
  },
}
SCSS
$custom: #d2ca78;
$custom-light: #e1daa0;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ca78",
  "rgb": {
    "r": 210,
    "g": 202,
    "b": 120
  },
  "hsl": {
    "h": 54.667,
    "s": 50,
    "l": 64.706
  },
  "oklch": {
    "l": 0.82754,
    "c": 0.10407,
    "h": 103.5
  },
  "luminance": 0.57299
}

Semantic roles & 50–950 ramp

primary
#D2CA78
secondary
#4D55A1
accent
#35BD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #D2CA78

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

Preview Lab → · Contrast checker → · Palette generator →

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