#D2C64E#D2C64E

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

Color values

HEX#D2C64E
RGBrgb(210, 198, 78)
HSLhsl(55, 59%, 56%)
HSVhsv(55, 63%, 82%)
CMYKcmyk(0%, 5.7%, 62.9%, 17.6%)
CIE-LABlab(78.83, -10.18, 59.72)
CIE-LCHlch(78.83, 60.58, 99.68°)
OKLaboklab(81.4% -0.0329 0.1359)
OKLCHoklch(81.4% 0.14 103.6)
XYZxyz(48.1494, 54.6417, 15.2169)
Luminance0.5464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C64E #4E5AD2
analogous
#D2844E #D2C64E #9CD24E
triadic
#D2C64E #4ED2C6 #C64ED2
tetradic
#D2C64E #4ED284 #4E5AD2 #D24E9C
square
#D2C64E #4ED284 #4E5AD2 #D24E9C
split-complementary
#D2C64E #4E9CD2 #844ED2
monochromatic
#847B22 #B5A92E #D2C64E #DED67F #EBE5B0

Accessibility & contrast

On white

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

On black

11.93
#D2C64E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C64E
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C64E#FFFFFF#000000##000000
##D2C64E1.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C03F
Deuteranopia (green-blind)
#DBC655
Tritanopia (blue-blind)
#E1B9AD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d2c64e;
/* rgb */ color: rgb(210, 198, 78);
/* oklch */ color: oklch(81.4% 0.140 103.6);
Tailwind
colors: {
  custom: {
    50: '#e3d785',
    500: '#d2c64e',
    950: '#000000',
  },
}
SCSS
$custom: #d2c64e;
$custom-light: #e3d785;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c64e",
  "rgb": {
    "r": 210,
    "g": 198,
    "b": 78
  },
  "hsl": {
    "h": 54.545,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.81404,
    "c": 0.13979,
    "h": 103.6
  },
  "luminance": 0.5464
}

Semantic roles & 50–950 ramp

primary
#D2C64E
secondary
#39418B
accent
#53E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2C64E

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

Preview Lab → · Contrast checker → · Palette generator →

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