#D2C063#D2C063

#D2C063 is a light, moderate yellow. Relative luminance 0.523; OKLCH L 80.4% C 0.116 H 98.6°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#D2C063
RGBrgb(210, 192, 99)
HSLhsl(50, 55%, 61%)
HSVhsv(50, 53%, 82%)
CMYKcmyk(0%, 8.6%, 52.9%, 17.6%)
CIE-LABlab(77.46, -5.56, 48.63)
CIE-LCHlch(77.46, 48.95, 96.53°)
OKLaboklab(80.38% -0.0173 0.1146)
OKLCHoklch(80.38% 0.116 98.6)
XYZxyz(47.6817, 52.3036, 19.3859)
Luminance0.5230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C063 #6375D2
analogous
#D28863 #D2C063 #ADD263
triadic
#D2C063 #63D2C0 #C063D2
tetradic
#D2C063 #63D288 #6375D2 #D263AD
square
#D2C063 #63D288 #6375D2 #D263AD
split-complementary
#D2C063 #63ADD2 #8863D2
monochromatic
#91802A #C0AA37 #D2C063 #E0D392 #EDE6C2

Accessibility & contrast

On white

1.83
#D2C063 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.46
#D2C063 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C063
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C063#FFFFFF#000000##000000
##D2C0631.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BC5A
Deuteranopia (green-blind)
#D5C267
Tritanopia (blue-blind)
#E0B4AB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d2c063;
/* rgb */ color: rgb(210, 192, 99);
/* oklch */ color: oklch(80.4% 0.116 98.6);
Tailwind
colors: {
  custom: {
    50: '#e2d292',
    500: '#d2c063',
    950: '#000000',
  },
}
SCSS
$custom: #d2c063;
$custom-light: #e2d292;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c063",
  "rgb": {
    "r": 210,
    "g": 192,
    "b": 99
  },
  "hsl": {
    "h": 50.27,
    "s": 55.224,
    "l": 60.588
  },
  "oklch": {
    "l": 0.80381,
    "c": 0.11592,
    "h": 98.6
  },
  "luminance": 0.52302
}

Semantic roles & 50–950 ramp

primary
#D2C063
secondary
#435097
accent
#3DC323
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D2C063

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

Preview Lab → · Contrast checker → · Palette generator →

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