#D2CA68#D2CA68

#D2CA68 is a very light, vivid yellow. Relative luminance 0.569; OKLCH L 82.5% C 0.121 H 104.5°. Best body text is #000000 at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#D2CA68
RGBrgb(210, 202, 104)
HSLhsl(55, 54%, 62%)
HSVhsv(55, 50%, 82%)
CMYKcmyk(0%, 3.8%, 50.5%, 17.6%)
CIE-LABlab(80.15, -10.27, 49.42)
CIE-LCHlch(80.15, 50.47, 101.74°)
OKLaboklab(82.53% -0.0303 0.1168)
OKLCHoklch(82.53% 0.121 104.5)
XYZxyz(50.1989, 56.9437, 21.4409)
Luminance0.5694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CA68 #6870D2
analogous
#D29568 #D2CA68 #A5D268
triadic
#D2CA68 #68D2CA #CA68D2
tetradic
#D2CA68 #68D295 #6870D2 #D268A5
square
#D2CA68 #68D295 #6870D2 #D268A5
split-complementary
#D2CA68 #68A5D2 #9568D2
monochromatic
#948C2C #C3B83A #D2CA68 #E0DB97 #EEEBC6

Accessibility & contrast

On white

1.70
#D2CA68 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.39
#D2CA68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CA68
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CA68#FFFFFF#000000##000000
##D2CA681.001.7012.3912.39
#FFFFFF1.701.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C45F
Deuteranopia (green-blind)
#DCC96D
Tritanopia (blue-blind)
#DFBFB3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d2ca68;
/* rgb */ color: rgb(210, 202, 104);
/* oklch */ color: oklch(82.5% 0.121 104.5);
Tailwind
colors: {
  custom: {
    50: '#e2d995',
    500: '#d2ca68',
    950: '#000000',
  },
}
SCSS
$custom: #d2ca68;
$custom-light: #e2d995;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ca68",
  "rgb": {
    "r": 210,
    "g": 202,
    "b": 104
  },
  "hsl": {
    "h": 55.472,
    "s": 54.082,
    "l": 61.569
  },
  "oklch": {
    "l": 0.8253,
    "c": 0.12067,
    "h": 104.5
  },
  "luminance": 0.56942
}

Semantic roles & 50–950 ramp

primary
#D2CA68
secondary
#454B99
accent
#30C224
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D2CA68

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

Preview Lab → · Contrast checker → · Palette generator →

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