#D2C546#D2C546

#D2C546 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 81.1% C 0.145 H 103.4°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#D2C546
RGBrgb(210, 197, 70)
HSLhsl(54, 61%, 55%)
HSVhsv(54, 67%, 82%)
CMYKcmyk(0%, 6.2%, 66.7%, 17.6%)
CIE-LABlab(78.51, -10.15, 62.67)
CIE-LCHlch(78.51, 63.49, 99.20°)
OKLaboklab(81.12% -0.0337 0.1409)
OKLCHoklch(81.12% 0.145 103.4)
XYZxyz(47.6520, 54.0782, 13.7212)
Luminance0.5408 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C546 #4653D2
analogous
#D27F46 #D2C546 #99D246
triadic
#D2C546 #46D2C5 #C546D2
tetradic
#D2C546 #46D27F #4653D2 #D24699
square
#D2C546 #46D27F #4653D2 #D24699
split-complementary
#D2C546 #4699D2 #7F46D2
monochromatic
#7F761F #B0A42B #D2C546 #DED477 #EAE4A8

Accessibility & contrast

On white

1.78
#D2C546 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.82
#D2C546 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C546
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C546#FFFFFF#000000##000000
##D2C5461.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF35
Deuteranopia (green-blind)
#DAC54E
Tritanopia (blue-blind)
#E1B8AB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d2c546;
/* rgb */ color: rgb(210, 197, 70);
/* oklch */ color: oklch(81.1% 0.145 103.4);
Tailwind
colors: {
  custom: {
    50: '#e3d680',
    500: '#d2c546',
    950: '#000000',
  },
}
SCSS
$custom: #d2c546;
$custom-light: #e3d680;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c546",
  "rgb": {
    "r": 210,
    "g": 197,
    "b": 70
  },
  "hsl": {
    "h": 54.429,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81124,
    "c": 0.14486,
    "h": 103.4
  },
  "luminance": 0.54076
}

Semantic roles & 50–950 ramp

primary
#D2C546
secondary
#363D86
accent
#53E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2C546

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

Preview Lab → · Contrast checker → · Palette generator →

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