#D2C068#D2C068

#D2C068 is a light, moderate yellow. Relative luminance 0.524; OKLCH L 80.4% C 0.111 H 98.0°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#D2C068
RGBrgb(210, 192, 104)
HSLhsl(50, 54%, 62%)
HSVhsv(50, 50%, 82%)
CMYKcmyk(0%, 8.6%, 50.5%, 17.6%)
CIE-LABlab(77.52, -5.13, 46.27)
CIE-LCHlch(77.52, 46.56, 96.33°)
OKLaboklab(80.45% -0.0155 0.1099)
OKLCHoklch(80.45% 0.111 98)
XYZxyz(47.9282, 52.4022, 20.6840)
Luminance0.5240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C068 #687AD2
analogous
#D28B68 #D2C068 #AFD268
triadic
#D2C068 #68D2C0 #C068D2
tetradic
#D2C068 #68D28B #687AD2 #D268AF
square
#D2C068 #68D28B #687AD2 #D268AF
split-complementary
#D2C068 #68AFD2 #8B68D2
monochromatic
#94822C #C3AC3A #D2C068 #E0D497 #EEE7C6

Accessibility & contrast

On white

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

On black

11.48
#D2C068 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C068
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C068#FFFFFF#000000##000000
##D2C0681.001.8311.4811.48
#FFFFFF1.831.0021.0021.00
#00000011.4821.001.001.00
##00000011.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBC60
Deuteranopia (green-blind)
#D4C26C
Tritanopia (blue-blind)
#E0B5AB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d2c068;
/* rgb */ color: rgb(210, 192, 104);
/* oklch */ color: oklch(80.4% 0.111 98.0);
Tailwind
colors: {
  custom: {
    50: '#e2d295',
    500: '#d2c068',
    950: '#000000',
  },
}
SCSS
$custom: #d2c068;
$custom-light: #e2d295;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c068",
  "rgb": {
    "r": 210,
    "g": 192,
    "b": 104
  },
  "hsl": {
    "h": 49.811,
    "s": 54.082,
    "l": 61.569
  },
  "oklch": {
    "l": 0.80447,
    "c": 0.11101,
    "h": 98
  },
  "luminance": 0.524
}

Semantic roles & 50–950 ramp

primary
#D2C068
secondary
#455399
accent
#3FC224
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D2C068

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

Preview Lab → · Contrast checker → · Palette generator →

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