#D2C645#D2C645

#D2C645 is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.3% C 0.146 H 104.0°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#D2C645
RGBrgb(210, 198, 69)
HSLhsl(55, 61%, 55%)
HSVhsv(55, 67%, 82%)
CMYKcmyk(0%, 5.7%, 67.1%, 17.6%)
CIE-LABlab(78.76, -10.72, 63.33)
CIE-LCHlch(78.76, 64.23, 99.60°)
OKLaboklab(81.33% -0.0354 0.1421)
OKLCHoklch(81.33% 0.146 104)
XYZxyz(47.8485, 54.5213, 13.6323)
Luminance0.5452 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C645 #4551D2
analogous
#D28045 #D2C645 #97D245
triadic
#D2C645 #45D2C6 #C645D2
tetradic
#D2C645 #45D280 #4551D2 #D24597
square
#D2C645 #45D280 #4551D2 #D24597
split-complementary
#D2C645 #4597D2 #8045D2
monochromatic
#7E761F #AFA42A #D2C645 #DED576 #EAE4A8

Accessibility & contrast

On white

1.76
#D2C645 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.90
#D2C645 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C645
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C645#FFFFFF#000000##000000
##D2C6451.001.7611.9011.90
#FFFFFF1.761.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF33
Deuteranopia (green-blind)
#DBC64D
Tritanopia (blue-blind)
#E1B9AC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d2c645;
/* rgb */ color: rgb(210, 198, 69);
/* oklch */ color: oklch(81.3% 0.146 104.0);
Tailwind
colors: {
  custom: {
    50: '#e3d780',
    500: '#d2c645',
    950: '#000000',
  },
}
SCSS
$custom: #d2c645;
$custom-light: #e3d780;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c645",
  "rgb": {
    "r": 210,
    "g": 198,
    "b": 69
  },
  "hsl": {
    "h": 54.894,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.81326,
    "c": 0.14646,
    "h": 104
  },
  "luminance": 0.54519
}

Semantic roles & 50–950 ramp

primary
#D2C645
secondary
#363C86
accent
#51E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2C645

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

Preview Lab → · Contrast checker → · Palette generator →

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