#D2C64A#D2C64A

#D2C64A is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.4% C 0.143 H 103.8°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#D2C64A
RGBrgb(210, 198, 74)
HSLhsl(55, 60%, 56%)
HSVhsv(55, 65%, 82%)
CMYKcmyk(0%, 5.7%, 64.8%, 17.6%)
CIE-LABlab(78.80, -10.43, 61.36)
CIE-LCHlch(78.80, 62.24, 99.65°)
OKLaboklab(81.37% -0.034 0.1387)
OKLCHoklch(81.37% 0.143 103.8)
XYZxyz(48.0103, 54.5860, 14.4844)
Luminance0.5458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C64A #4A56D2
analogous
#D2824A #D2C64A #9AD24A
triadic
#D2C64A #4AD2C6 #C64AD2
tetradic
#D2C64A #4AD282 #4A56D2 #D24A9A
square
#D2C64A #4AD282 #4A56D2 #D24A9A
split-complementary
#D2C64A #4A9AD2 #824AD2
monochromatic
#817920 #B2A72C #D2C64A #DED57B #EAE5AC

Accessibility & contrast

On white

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

On black

11.92
#D2C64A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C64A
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C64A#FFFFFF#000000##000000
##D2C64A1.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2c64a;
/* rgb */ color: rgb(210, 198, 74);
/* oklch */ color: oklch(81.4% 0.143 103.8);
Tailwind
colors: {
  custom: {
    50: '#e3d782',
    500: '#d2c64a',
    950: '#000000',
  },
}
SCSS
$custom: #d2c64a;
$custom-light: #e3d782;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c64a",
  "rgb": {
    "r": 210,
    "g": 198,
    "b": 74
  },
  "hsl": {
    "h": 54.706,
    "s": 60.177,
    "l": 55.686
  },
  "oklch": {
    "l": 0.81368,
    "c": 0.14285,
    "h": 103.8
  },
  "luminance": 0.54584
}

Semantic roles & 50–950 ramp

primary
#D2C64A
secondary
#383F89
accent
#52E344
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2C64A

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

Preview Lab → · Contrast checker → · Palette generator →

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