#D3CC46#D3CC46

#D3CC46 is a very light, vivid yellow. Relative luminance 0.575; OKLCH L 82.7% C 0.151 H 106.3°. Best body text is #000000 at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#D3CC46
RGBrgb(211, 204, 70)
HSLhsl(57, 62%, 55%)
HSVhsv(57, 67%, 83%)
CMYKcmyk(0%, 3.3%, 66.8%, 17.3%)
CIE-LABlab(80.45, -13.27, 64.68)
CIE-LCHlch(80.45, 66.03, 101.60°)
OKLaboklab(82.69% -0.0426 0.1451)
OKLCHoklch(82.69% 0.151 106.3)
XYZxyz(49.5642, 57.4785, 14.2768)
Luminance0.5748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CC46 #464DD3
analogous
#D38546 #D3CC46 #94D346
triadic
#D3CC46 #46D3CC #CC46D3
tetradic
#D3CC46 #46D385 #464DD3 #D34694
square
#D3CC46 #46D385 #464DD3 #D34694
split-complementary
#D3CC46 #4694D3 #8546D3
monochromatic
#807B1E #B2AB2A #D3CC46 #DFDA77 #EBE7A9

Accessibility & contrast

On white

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

On black

12.50
#D3CC46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3CC46
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3CC46#FFFFFF#000000##000000
##D3CC461.001.6812.5012.50
#FFFFFF1.681.0021.0021.00
#00000012.5021.001.001.00
##00000012.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC533
Deuteranopia (green-blind)
#E0CA4F
Tritanopia (blue-blind)
#E2BFB1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d3cc46;
/* rgb */ color: rgb(211, 204, 70);
/* oklch */ color: oklch(82.7% 0.151 106.3);
Tailwind
colors: {
  custom: {
    50: '#e4db81',
    500: '#d3cc46',
    950: '#000000',
  },
}
SCSS
$custom: #d3cc46;
$custom-light: #e4db81;
$custom-dark: #000000;
JSON
{
  "hex": "#d3cc46",
  "rgb": {
    "r": 211,
    "g": 204,
    "b": 70
  },
  "hsl": {
    "h": 57.021,
    "s": 61.572,
    "l": 55.098
  },
  "oklch": {
    "l": 0.82688,
    "c": 0.15121,
    "h": 106.3
  },
  "luminance": 0.57477
}

Semantic roles & 50–950 ramp

primary
#D3CC46
secondary
#363A87
accent
#4BE543
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D3CC46

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

Preview Lab → · Contrast checker → · Palette generator →

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