#D2C075#D2C075

#D2C075 is a light, moderate yellow. Relative luminance 0.527; OKLCH L 80.6% C 0.097 H 96.3°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#D2C075
RGBrgb(210, 192, 117)
HSLhsl(48, 51%, 64%)
HSVhsv(48, 44%, 82%)
CMYKcmyk(0%, 8.6%, 44.3%, 17.6%)
CIE-LABlab(77.69, -3.90, 40.00)
CIE-LCHlch(77.69, 40.19, 95.57°)
OKLaboklab(80.64% -0.0106 0.0969)
OKLCHoklch(80.64% 0.097 96.3)
XYZxyz(48.6401, 52.6870, 24.4336)
Luminance0.5269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C075 #7587D2
analogous
#D29275 #D2C075 #B6D275
triadic
#D2C075 #75D2C0 #C075D2
tetradic
#D2C075 #75D292 #7587D2 #D275B6
square
#D2C075 #75D292 #7587D2 #D275B6
split-complementary
#D2C075 #75B6D2 #9275D2
monochromatic
#9A8632 #C3AB47 #D2C075 #E1D5A3 #F0EAD1

Accessibility & contrast

On white

1.82
#D2C075 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.54
#D2C075 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C075
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C075#FFFFFF#000000##000000
##D2C0751.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBD6F
Deuteranopia (green-blind)
#D3C378
Tritanopia (blue-blind)
#DFB6AE
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d2c075;
/* rgb */ color: rgb(210, 192, 117);
/* oklch */ color: oklch(80.6% 0.097 96.3);
Tailwind
colors: {
  custom: {
    50: '#e1d29e',
    500: '#d2c075',
    950: '#000000',
  },
}
SCSS
$custom: #d2c075;
$custom-light: #e1d29e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c075",
  "rgb": {
    "r": 210,
    "g": 192,
    "b": 117
  },
  "hsl": {
    "h": 48.387,
    "s": 50.82,
    "l": 64.118
  },
  "oklch": {
    "l": 0.80635,
    "c": 0.09746,
    "h": 96.3
  },
  "luminance": 0.52685
}

Semantic roles & 50–950 ramp

primary
#D2C075
secondary
#4C5C9F
accent
#45BE27
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #D2C075

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

Preview Lab → · Contrast checker → · Palette generator →

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