#D4CC3D#D4CC3D

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

Color values

HEX#D4CC3D
RGBrgb(212, 204, 61)
HSLhsl(57, 64%, 54%)
HSVhsv(57, 71%, 83%)
CMYKcmyk(0%, 3.8%, 71.2%, 16.9%)
CIE-LABlab(80.47, -13.31, 68.09)
CIE-LCHlch(80.47, 69.38, 101.06°)
OKLaboklab(82.71% -0.0436 0.1507)
OKLCHoklch(82.71% 0.157 106.1)
XYZxyz(49.5885, 57.5215, 12.9046)
Luminance0.5752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CC3D #3D45D4
analogous
#D4803D #D4CC3D #90D43D
triadic
#D4CC3D #3DD4CC #CC3DD4
tetradic
#D4CC3D #3DD480 #3D45D4 #D43D90
square
#D4CC3D #3DD480 #3D45D4 #D43D90
split-complementary
#D4CC3D #3D90D4 #803DD4
monochromatic
#7B761B #ADA626 #D4CC3D #DFD96F #EAE6A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4CC3D#FFFFFF#000000##000000
##D4CC3D1.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)
#DDC424
Deuteranopia (green-blind)
#E1CA47
Tritanopia (blue-blind)
#E3BEB0
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d4cc3d;
/* rgb */ color: rgb(212, 204, 61);
/* oklch */ color: oklch(82.7% 0.157 106.1);
Tailwind
colors: {
  custom: {
    50: '#e5db7c',
    500: '#d4cc3d',
    950: '#000000',
  },
}
SCSS
$custom: #d4cc3d;
$custom-light: #e5db7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cc3d",
  "rgb": {
    "r": 212,
    "g": 204,
    "b": 61
  },
  "hsl": {
    "h": 56.821,
    "s": 63.713,
    "l": 53.529
  },
  "oklch": {
    "l": 0.82709,
    "c": 0.15692,
    "h": 106.1
  },
  "luminance": 0.5752
}

Semantic roles & 50–950 ramp

primary
#D4CC3D
secondary
#323683
accent
#4AE741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D4CC3D

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

Preview Lab → · Contrast checker → · Palette generator →

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