#D2CA6B#D2CA6B

#D2CA6B is a very light, moderate yellow. Relative luminance 0.570; OKLCH L 82.6% C 0.118 H 104.4°. Best body text is #000000 at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#D2CA6B
RGBrgb(210, 202, 107)
HSLhsl(55, 53%, 62%)
HSVhsv(55, 49%, 82%)
CMYKcmyk(0%, 3.8%, 49%, 17.6%)
CIE-LABlab(80.18, -10.00, 48.02)
CIE-LCHlch(80.18, 49.05, 101.77°)
OKLaboklab(82.57% -0.0292 0.114)
OKLCHoklch(82.57% 0.118 104.4)
XYZxyz(50.3540, 57.0057, 22.2578)
Luminance0.5700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CA6B #6B73D2
analogous
#D2976B #D2CA6B #A7D26B
triadic
#D2CA6B #6BD2CA #CA6BD2
tetradic
#D2CA6B #6BD297 #6B73D2 #D26BA7
square
#D2CA6B #6BD297 #6B73D2 #D26BA7
split-complementary
#D2CA6B #6BA7D2 #976BD2
monochromatic
#958D2D #C4B93C #D2CA6B #E0DB9A #EFECC9

Accessibility & contrast

On white

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

On black

12.40
#D2CA6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CA6B
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CA6B#FFFFFF#000000##000000
##D2CA6B1.001.6912.4012.40
#FFFFFF1.691.0021.0021.00
#00000012.4021.001.001.00
##00000012.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C463
Deuteranopia (green-blind)
#DBC96F
Tritanopia (blue-blind)
#DFBFB4
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d2ca6b;
/* rgb */ color: rgb(210, 202, 107);
/* oklch */ color: oklch(82.6% 0.118 104.4);
Tailwind
colors: {
  custom: {
    50: '#e2d997',
    500: '#d2ca6b',
    950: '#000000',
  },
}
SCSS
$custom: #d2ca6b;
$custom-light: #e2d997;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ca6b",
  "rgb": {
    "r": 210,
    "g": 202,
    "b": 107
  },
  "hsl": {
    "h": 55.34,
    "s": 53.368,
    "l": 62.157
  },
  "oklch": {
    "l": 0.82569,
    "c": 0.11768,
    "h": 104.4
  },
  "luminance": 0.57004
}

Semantic roles & 50–950 ramp

primary
#D2CA6B
secondary
#474D9B
accent
#31C125
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D2CA6B

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

Preview Lab → · Contrast checker → · Palette generator →

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