#D2CB74#D2CB74

#D2CB74 is a very light, moderate yellow. Relative luminance 0.577; OKLCH L 82.9% C 0.109 H 104.5°. Best body text is #000000 at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#D2CB74
RGBrgb(210, 203, 116)
HSLhsl(56, 51%, 64%)
HSVhsv(56, 45%, 82%)
CMYKcmyk(0%, 3.3%, 44.8%, 17.6%)
CIE-LABlab(80.56, -9.67, 44.08)
CIE-LCHlch(80.56, 45.12, 102.37°)
OKLaboklab(82.9% -0.0274 0.106)
OKLCHoklch(82.9% 0.109 104.5)
XYZxyz(51.0878, 57.6759, 24.9610)
Luminance0.5767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CB74 #747BD2
analogous
#D29C74 #D2CB74 #AAD274
triadic
#D2CB74 #74D2CB #CB74D2
tetradic
#D2CB74 #74D29C #747BD2 #D274AA
square
#D2CB74 #74D29C #747BD2 #D274AA
split-complementary
#D2CB74 #74AAD2 #9C74D2
monochromatic
#9A9232 #C3BA46 #D2CB74 #E1DCA2 #F0EED0

Accessibility & contrast

On white

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

On black

12.53
#D2CB74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CB74
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CB74#FFFFFF#000000##000000
##D2CB741.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C56D
Deuteranopia (green-blind)
#DBCA78
Tritanopia (blue-blind)
#DEC1B6
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d2cb74;
/* rgb */ color: rgb(210, 203, 116);
/* oklch */ color: oklch(82.9% 0.109 104.5);
Tailwind
colors: {
  custom: {
    50: '#e1da9d',
    500: '#d2cb74',
    950: '#000000',
  },
}
SCSS
$custom: #d2cb74;
$custom-light: #e1da9d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cb74",
  "rgb": {
    "r": 210,
    "g": 203,
    "b": 116
  },
  "hsl": {
    "h": 55.532,
    "s": 51.087,
    "l": 63.922
  },
  "oklch": {
    "l": 0.82904,
    "c": 0.10944,
    "h": 104.5
  },
  "luminance": 0.57674
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2CB74

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

Preview Lab → · Contrast checker → · Palette generator →

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