#D2C968#D2C968

#D2C968 is a very light, moderate yellow. Relative luminance 0.565; OKLCH L 82.3% C 0.120 H 103.9°. Best body text is #000000 at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#D2C968
RGBrgb(210, 201, 104)
HSLhsl(55, 54%, 62%)
HSVhsv(55, 50%, 82%)
CMYKcmyk(0%, 4.3%, 50.5%, 17.6%)
CIE-LABlab(79.88, -9.76, 49.10)
CIE-LCHlch(79.88, 50.06, 101.24°)
OKLaboklab(82.32% -0.0288 0.1161)
OKLCHoklch(82.32% 0.12 103.9)
XYZxyz(49.9651, 56.4760, 21.3630)
Luminance0.5647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C968 #6871D2
analogous
#D29468 #D2C968 #A6D268
triadic
#D2C968 #68D2C9 #C968D2
tetradic
#D2C968 #68D294 #6871D2 #D268A6
square
#D2C968 #68D294 #6871D2 #D268A6
split-complementary
#D2C968 #68A6D2 #9468D2
monochromatic
#948B2C #C3B73A #D2C968 #E0DA97 #EEEBC6

Accessibility & contrast

On white

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

On black

12.29
#D2C968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C968
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C968#FFFFFF#000000##000000
##D2C9681.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C35F
Deuteranopia (green-blind)
#DBC86D
Tritanopia (blue-blind)
#DFBEB3
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d2c968;
/* rgb */ color: rgb(210, 201, 104);
/* oklch */ color: oklch(82.3% 0.120 103.9);
Tailwind
colors: {
  custom: {
    50: '#e2d995',
    500: '#d2c968',
    950: '#000000',
  },
}
SCSS
$custom: #d2c968;
$custom-light: #e2d995;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c968",
  "rgb": {
    "r": 210,
    "g": 201,
    "b": 104
  },
  "hsl": {
    "h": 54.906,
    "s": 54.082,
    "l": 61.569
  },
  "oklch": {
    "l": 0.82321,
    "c": 0.11964,
    "h": 103.9
  },
  "luminance": 0.56474
}

Semantic roles & 50–950 ramp

primary
#D2C968
secondary
#454C99
accent
#31C224
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D2C968

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

Preview Lab → · Contrast checker → · Palette generator →

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