#D2CC46#D2CC46

#D2CC46 is a very light, vivid yellow. Relative luminance 0.573; OKLCH L 82.6% C 0.151 H 106.8°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#D2CC46
RGBrgb(210, 204, 70)
HSLhsl(57, 61%, 55%)
HSVhsv(57, 67%, 82%)
CMYKcmyk(0%, 2.9%, 66.7%, 17.6%)
CIE-LABlab(80.37, -13.69, 64.57)
CIE-LCHlch(80.37, 66.01, 101.97°)
OKLaboklab(82.6% -0.0437 0.1449)
OKLCHoklch(82.6% 0.151 106.8)
XYZxyz(49.2785, 57.3312, 14.2634)
Luminance0.5733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CC46 #464CD2
analogous
#D28646 #D2CC46 #92D246
triadic
#D2CC46 #46D2CC #CC46D2
tetradic
#D2CC46 #46D286 #464CD2 #D24692
square
#D2CC46 #46D286 #464CD2 #D24692
split-complementary
#D2CC46 #4692D2 #8646D2
monochromatic
#7F7B1F #B0AA2B #D2CC46 #DEDA77 #EAE7A8

Accessibility & contrast

On white

1.68
#D2CC46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.47
#D2CC46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CC46
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CC46#FFFFFF#000000##000000
##D2CC461.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC433
Deuteranopia (green-blind)
#E0CA4F
Tritanopia (blue-blind)
#E1BFB1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d2cc46;
/* rgb */ color: rgb(210, 204, 70);
/* oklch */ color: oklch(82.6% 0.151 106.8);
Tailwind
colors: {
  custom: {
    50: '#e3db81',
    500: '#d2cc46',
    950: '#000000',
  },
}
SCSS
$custom: #d2cc46;
$custom-light: #e3db81;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cc46",
  "rgb": {
    "r": 210,
    "g": 204,
    "b": 70
  },
  "hsl": {
    "h": 57.429,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.82603,
    "c": 0.15134,
    "h": 106.8
  },
  "luminance": 0.5733
}

Semantic roles & 50–950 ramp

primary
#D2CC46
secondary
#363986
accent
#4BE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2CC46

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

Preview Lab → · Contrast checker → · Palette generator →

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