#D2C865#D2C865

#D2C865 is a very light, vivid yellow. Relative luminance 0.559; OKLCH L 82.1% C 0.122 H 103.5°. Best body text is #000000 at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#D2C865
RGBrgb(210, 200, 101)
HSLhsl(54, 55%, 61%)
HSVhsv(54, 52%, 82%)
CMYKcmyk(0%, 4.8%, 51.9%, 17.6%)
CIE-LABlab(79.59, -9.51, 50.18)
CIE-LCHlch(79.59, 51.07, 100.73°)
OKLaboklab(82.07% -0.0284 0.1182)
OKLCHoklch(82.07% 0.122 103.5)
XYZxyz(49.5830, 55.9514, 20.4973)
Luminance0.5595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C865 #656FD2
analogous
#D29165 #D2C865 #A5D265
triadic
#D2C865 #65D2C8 #C865D2
tetradic
#D2C865 #65D291 #656FD2 #D265A5
square
#D2C865 #65D291 #656FD2 #D265A5
split-complementary
#D2C865 #65A5D2 #9165D2
monochromatic
#92882B #C1B538 #D2C865 #E0D994 #EEEAC4

Accessibility & contrast

On white

1.72
#D2C865 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.19
#D2C865 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C865
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C865#FFFFFF#000000##000000
##D2C8651.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C25C
Deuteranopia (green-blind)
#DAC86A
Tritanopia (blue-blind)
#DFBDB1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d2c865;
/* rgb */ color: rgb(210, 200, 101);
/* oklch */ color: oklch(82.1% 0.122 103.5);
Tailwind
colors: {
  custom: {
    50: '#e2d893',
    500: '#d2c865',
    950: '#000000',
  },
}
SCSS
$custom: #d2c865;
$custom-light: #e2d893;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c865",
  "rgb": {
    "r": 210,
    "g": 200,
    "b": 101
  },
  "hsl": {
    "h": 54.495,
    "s": 54.774,
    "l": 60.98
  },
  "oklch": {
    "l": 0.82073,
    "c": 0.12156,
    "h": 103.5
  },
  "luminance": 0.5595
}

Semantic roles & 50–950 ramp

primary
#D2C865
secondary
#444B98
accent
#32C223
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D2C865

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

Preview Lab → · Contrast checker → · Palette generator →

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