#D2C64B#D2C64B

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

Color values

HEX#D2C64B
RGBrgb(210, 198, 75)
HSLhsl(55, 60%, 56%)
HSVhsv(55, 64%, 82%)
CMYKcmyk(0%, 5.7%, 64.3%, 17.6%)
CIE-LABlab(78.81, -10.37, 60.95)
CIE-LCHlch(78.81, 61.83, 99.66°)
OKLaboklab(81.38% -0.0337 0.138)
OKLCHoklch(81.38% 0.142 103.7)
XYZxyz(48.0443, 54.5996, 14.6633)
Luminance0.5460 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C64B #4B57D2
analogous
#D2824B #D2C64B #9AD24B
triadic
#D2C64B #4BD2C6 #C64BD2
tetradic
#D2C64B #4BD282 #4B57D2 #D24B9A
square
#D2C64B #4BD282 #4B57D2 #D24B9A
split-complementary
#D2C64B #4B9AD2 #824BD2
monochromatic
#827921 #B3A72D #D2C64B #DED67C #EAE5AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2C64B#FFFFFF#000000##000000
##D2C64B1.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)
#D7C03B
Deuteranopia (green-blind)
#DBC652
Tritanopia (blue-blind)
#E1B9AC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d2c64b;
/* rgb */ color: rgb(210, 198, 75);
/* oklch */ color: oklch(81.4% 0.142 103.7);
Tailwind
colors: {
  custom: {
    50: '#e3d783',
    500: '#d2c64b',
    950: '#000000',
  },
}
SCSS
$custom: #d2c64b;
$custom-light: #e3d783;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c64b",
  "rgb": {
    "r": 210,
    "g": 198,
    "b": 75
  },
  "hsl": {
    "h": 54.667,
    "s": 60,
    "l": 55.882
  },
  "oklch": {
    "l": 0.81377,
    "c": 0.1421,
    "h": 103.7
  },
  "luminance": 0.54598
}

Semantic roles & 50–950 ramp

primary
#D2C64B
secondary
#383F89
accent
#53E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2C64B

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

Preview Lab → · Contrast checker → · Palette generator →

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