#D4CC43#D4CC43

#D4CC43 is a very light, vivid yellow. Relative luminance 0.576; OKLCH L 82.8% C 0.153 H 106.0°. Best body text is #000000 at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#D4CC43
RGBrgb(212, 204, 67)
HSLhsl(57, 63%, 55%)
HSVhsv(57, 68%, 83%)
CMYKcmyk(0%, 3.8%, 68.4%, 16.9%)
CIE-LABlab(80.51, -13.01, 65.93)
CIE-LCHlch(80.51, 67.20, 101.17°)
OKLaboklab(82.75% -0.0422 0.1472)
OKLCHoklch(82.75% 0.153 106)
XYZxyz(49.7593, 57.5898, 13.8039)
Luminance0.5759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CC43 #434BD4
analogous
#D48443 #D4CC43 #93D443
triadic
#D4CC43 #43D4CC #CC43D4
tetradic
#D4CC43 #43D484 #434BD4 #D44393
square
#D4CC43 #43D484 #434BD4 #D44393
split-complementary
#D4CC43 #4393D4 #8443D4
monochromatic
#7F7A1D #B1AA29 #D4CC43 #DFDA75 #EBE7A7

Accessibility & contrast

On white

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

On black

12.52
#D4CC43 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CC43
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CC43#FFFFFF#000000##000000
##D4CC431.001.6812.5212.52
#FFFFFF1.681.0021.0021.00
#00000012.5221.001.001.00
##00000012.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC52E
Deuteranopia (green-blind)
#E0CA4C
Tritanopia (blue-blind)
#E3BFB1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d4cc43;
/* rgb */ color: rgb(212, 204, 67);
/* oklch */ color: oklch(82.8% 0.153 106.0);
Tailwind
colors: {
  custom: {
    50: '#e5db7f',
    500: '#d4cc43',
    950: '#000000',
  },
}
SCSS
$custom: #d4cc43;
$custom-light: #e5db7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cc43",
  "rgb": {
    "r": 212,
    "g": 204,
    "b": 67
  },
  "hsl": {
    "h": 56.69,
    "s": 62.771,
    "l": 54.706
  },
  "oklch": {
    "l": 0.82751,
    "c": 0.15313,
    "h": 106
  },
  "luminance": 0.57588
}

Semantic roles & 50–950 ramp

primary
#D4CC43
secondary
#343987
accent
#4BE642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D4CC43

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

Preview Lab → · Contrast checker → · Palette generator →

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