#D2C366#D2C366

#D2C366 is a light, moderate yellow. Relative luminance 0.537; OKLCH L 81.0% C 0.116 H 100.3°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#D2C366
RGBrgb(210, 195, 102)
HSLhsl(52, 55%, 61%)
HSVhsv(52, 51%, 82%)
CMYKcmyk(0%, 7.1%, 51.4%, 17.6%)
CIE-LABlab(78.28, -6.86, 48.16)
CIE-LCHlch(78.28, 48.64, 98.11°)
OKLaboklab(81.04% -0.0207 0.1139)
OKLCHoklch(81.04% 0.116 100.3)
XYZxyz(48.4932, 53.6929, 20.3772)
Luminance0.5369 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C366 #6675D2
analogous
#D28D66 #D2C366 #ABD266
triadic
#D2C366 #66D2C3 #C366D2
tetradic
#D2C366 #66D28D #6675D2 #D266AB
square
#D2C366 #66D28D #6675D2 #D266AB
split-complementary
#D2C366 #66ABD2 #8D66D2
monochromatic
#93842B #C2AF39 #D2C366 #E0D695 #EEE8C5

Accessibility & contrast

On white

1.79
#D2C366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.74
#D2C366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C366
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C366#FFFFFF#000000##000000
##D2C3661.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BE5E
Deuteranopia (green-blind)
#D7C46A
Tritanopia (blue-blind)
#E0B8AE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d2c366;
/* rgb */ color: rgb(210, 195, 102);
/* oklch */ color: oklch(81.0% 0.116 100.3);
Tailwind
colors: {
  custom: {
    50: '#e2d494',
    500: '#d2c366',
    950: '#000000',
  },
}
SCSS
$custom: #d2c366;
$custom-light: #e2d494;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c366",
  "rgb": {
    "r": 210,
    "g": 195,
    "b": 102
  },
  "hsl": {
    "h": 51.667,
    "s": 54.545,
    "l": 61.176
  },
  "oklch": {
    "l": 0.81042,
    "c": 0.11573,
    "h": 100.3
  },
  "luminance": 0.53691
}

Semantic roles & 50–950 ramp

primary
#D2C366
secondary
#445098
accent
#39C223
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D2C366

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

Preview Lab → · Contrast checker → · Palette generator →

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