#D2CA6F#D2CA6F

#D2CA6F is a very light, moderate yellow. Relative luminance 0.571; OKLCH L 82.6% C 0.114 H 104.1°. Best body text is #000000 at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#D2CA6F
RGBrgb(210, 202, 111)
HSLhsl(55, 52%, 63%)
HSVhsv(55, 47%, 82%)
CMYKcmyk(0%, 3.8%, 47.1%, 17.6%)
CIE-LABlab(80.23, -9.64, 46.13)
CIE-LCHlch(80.23, 47.13, 101.80°)
OKLaboklab(82.62% -0.0277 0.1102)
OKLCHoklch(82.62% 0.114 104.1)
XYZxyz(50.5693, 57.0919, 23.3918)
Luminance0.5709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CA6F #6F77D2
analogous
#D2996F #D2CA6F #A8D26F
triadic
#D2CA6F #6FD2CA #CA6FD2
tetradic
#D2CA6F #6FD299 #6F77D2 #D26FA8
square
#D2CA6F #6FD299 #6F77D2 #D26FA8
split-complementary
#D2CA6F #6FA8D2 #996FD2
monochromatic
#978F2F #C3B940 #D2CA6F #E1DB9E #EFECCC

Accessibility & contrast

On white

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

On black

12.42
#D2CA6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CA6F
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CA6F#FFFFFF#000000##000000
##D2CA6F1.001.6912.4212.42
#FFFFFF1.691.0021.0021.00
#00000012.4221.001.001.00
##00000012.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C467
Deuteranopia (green-blind)
#DBC973
Tritanopia (blue-blind)
#DFBFB5
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d2ca6f;
/* rgb */ color: rgb(210, 202, 111);
/* oklch */ color: oklch(82.6% 0.114 104.1);
Tailwind
colors: {
  custom: {
    50: '#e2da9a',
    500: '#d2ca6f',
    950: '#000000',
  },
}
SCSS
$custom: #d2ca6f;
$custom-light: #e2da9a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ca6f",
  "rgb": {
    "r": 210,
    "g": 202,
    "b": 111
  },
  "hsl": {
    "h": 55.152,
    "s": 52.381,
    "l": 62.941
  },
  "oklch": {
    "l": 0.82623,
    "c": 0.11361,
    "h": 104.1
  },
  "luminance": 0.5709
}

Semantic roles & 50–950 ramp

primary
#D2CA6F
secondary
#494F9D
accent
#32C026
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D2CA6F

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

Preview Lab → · Contrast checker → · Palette generator →

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