#D2C663#D2C663

#D2C663 is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.6% C 0.122 H 102.4°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#D2C663
RGBrgb(210, 198, 99)
HSLhsl(54, 55%, 61%)
HSVhsv(54, 53%, 82%)
CMYKcmyk(0%, 5.7%, 52.9%, 17.6%)
CIE-LABlab(79.04, -8.65, 50.48)
CIE-LCHlch(79.04, 51.22, 99.73°)
OKLaboklab(81.63% -0.0262 0.1187)
OKLCHoklch(81.63% 0.122 102.4)
XYZxyz(49.0261, 54.9923, 19.8341)
Luminance0.5499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C663 #636FD2
analogous
#D28F63 #D2C663 #A6D263
triadic
#D2C663 #63D2C6 #C663D2
tetradic
#D2C663 #63D28F #636FD2 #D263A6
square
#D2C663 #63D28F #636FD2 #D263A6
split-complementary
#D2C663 #63A6D2 #8F63D2
monochromatic
#91862A #C0B237 #D2C663 #E0D792 #EDE9C2

Accessibility & contrast

On white

1.75
#D2C663 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.00
#D2C663 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C663
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C663#FFFFFF#000000##000000
##D2C6631.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C15A
Deuteranopia (green-blind)
#D9C668
Tritanopia (blue-blind)
#E0BAAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d2c663;
/* rgb */ color: rgb(210, 198, 99);
/* oklch */ color: oklch(81.6% 0.122 102.4);
Tailwind
colors: {
  custom: {
    50: '#e2d792',
    500: '#d2c663',
    950: '#000000',
  },
}
SCSS
$custom: #d2c663;
$custom-light: #e2d792;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c663",
  "rgb": {
    "r": 210,
    "g": 198,
    "b": 99
  },
  "hsl": {
    "h": 53.514,
    "s": 55.224,
    "l": 60.588
  },
  "oklch": {
    "l": 0.8163,
    "c": 0.12151,
    "h": 102.4
  },
  "luminance": 0.54991
}

Semantic roles & 50–950 ramp

primary
#D2C663
secondary
#434C97
accent
#34C323
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D2C663

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

Preview Lab → · Contrast checker → · Palette generator →

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