#D2C345#D2C345

#D2C345 is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.7% C 0.144 H 102.5°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#D2C345
RGBrgb(210, 195, 69)
HSLhsl(54, 61%, 55%)
HSVhsv(54, 67%, 82%)
CMYKcmyk(0%, 7.1%, 67.1%, 17.6%)
CIE-LABlab(77.97, -9.19, 62.52)
CIE-LCHlch(77.97, 63.19, 98.36°)
OKLaboklab(80.69% -0.031 0.1404)
OKLCHoklch(80.69% 0.144 102.5)
XYZxyz(47.1696, 53.1635, 13.4060)
Luminance0.5316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C345 #4554D2
analogous
#D27D45 #D2C345 #9BD245
triadic
#D2C345 #45D2C3 #C345D2
tetradic
#D2C345 #45D27D #4554D2 #D2459B
square
#D2C345 #45D27D #4554D2 #D2459B
split-complementary
#D2C345 #459BD2 #7D45D2
monochromatic
#7E741F #AFA12A #D2C345 #DED376 #EAE3A8

Accessibility & contrast

On white

1.81
#D2C345 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.63
#D2C345 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C345
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C345#FFFFFF#000000##000000
##D2C3451.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD34
Deuteranopia (green-blind)
#D9C44D
Tritanopia (blue-blind)
#E1B6A9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d2c345;
/* rgb */ color: rgb(210, 195, 69);
/* oklch */ color: oklch(80.7% 0.144 102.5);
Tailwind
colors: {
  custom: {
    50: '#e3d47f',
    500: '#d2c345',
    950: '#000000',
  },
}
SCSS
$custom: #d2c345;
$custom-light: #e3d47f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c345",
  "rgb": {
    "r": 210,
    "g": 195,
    "b": 69
  },
  "hsl": {
    "h": 53.617,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.80695,
    "c": 0.1438,
    "h": 102.5
  },
  "luminance": 0.53162
}

Semantic roles & 50–950 ramp

primary
#D2C345
secondary
#363E86
accent
#55E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2C345

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

Preview Lab → · Contrast checker → · Palette generator →

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