#D3CC45#D3CC45

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

Color values

HEX#D3CC45
RGBrgb(211, 204, 69)
HSLhsl(57, 62%, 55%)
HSVhsv(57, 67%, 83%)
CMYKcmyk(0%, 3.3%, 67.3%, 17.3%)
CIE-LABlab(80.44, -13.33, 65.06)
CIE-LCHlch(80.44, 66.42, 101.58°)
OKLaboklab(82.68% -0.0428 0.1457)
OKLCHoklch(82.68% 0.152 106.4)
XYZxyz(49.5329, 57.4660, 14.1119)
Luminance0.5746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CC45 #454CD3
analogous
#D38545 #D3CC45 #93D345
triadic
#D3CC45 #45D3CC #CC45D3
tetradic
#D3CC45 #45D385 #454CD3 #D34593
square
#D3CC45 #45D385 #454CD3 #D34593
split-complementary
#D3CC45 #4593D3 #8545D3
monochromatic
#7F7B1E #B1AA2A #D3CC45 #DFDA76 #EAE7A8

Accessibility & contrast

On white

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

On black

12.49
#D3CC45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3CC45
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3CC45#FFFFFF#000000##000000
##D3CC451.001.6812.4912.49
#FFFFFF1.681.0021.0021.00
#00000012.4921.001.001.00
##00000012.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d3cc45;
/* rgb */ color: rgb(211, 204, 69);
/* oklch */ color: oklch(82.7% 0.152 106.4);
Tailwind
colors: {
  custom: {
    50: '#e4db80',
    500: '#d3cc45',
    950: '#000000',
  },
}
SCSS
$custom: #d3cc45;
$custom-light: #e4db80;
$custom-dark: #000000;
JSON
{
  "hex": "#d3cc45",
  "rgb": {
    "r": 211,
    "g": 204,
    "b": 69
  },
  "hsl": {
    "h": 57.042,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.82681,
    "c": 0.1519,
    "h": 106.4
  },
  "luminance": 0.57464
}

Semantic roles & 50–950 ramp

primary
#D3CC45
secondary
#353987
accent
#4BE543
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D3CC45

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

Preview Lab → · Contrast checker → · Palette generator →

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