#D4CD40#D4CD40

#D4CD40 is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 82.9% C 0.156 H 106.5°. Best body text is #000000 at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#D4CD40
RGBrgb(212, 205, 64)
HSLhsl(57, 63%, 54%)
HSVhsv(57, 70%, 83%)
CMYKcmyk(0%, 3.3%, 69.8%, 16.9%)
CIE-LABlab(80.76, -13.67, 67.29)
CIE-LCHlch(80.76, 68.66, 101.48°)
OKLaboklab(82.94% -0.0443 0.1496)
OKLCHoklch(82.94% 0.156 106.5)
XYZxyz(49.9100, 58.0316, 13.4217)
Luminance0.5803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CD40 #4047D4
analogous
#D48340 #D4CD40 #91D440
triadic
#D4CD40 #40D4CD #CD40D4
tetradic
#D4CD40 #40D483 #4047D4 #D44091
square
#D4CD40 #40D483 #4047D4 #D44091
split-complementary
#D4CD40 #4091D4 #8340D4
monochromatic
#7D791C #AFA927 #D4CD40 #DFDA72 #EAE7A4

Accessibility & contrast

On white

1.67
#D4CD40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.61
#D4CD40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CD40
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CD40#FFFFFF#000000##000000
##D4CD401.001.6712.6112.61
#FFFFFF1.671.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC529
Deuteranopia (green-blind)
#E1CB4A
Tritanopia (blue-blind)
#E3C0B1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d4cd40;
/* rgb */ color: rgb(212, 205, 64);
/* oklch */ color: oklch(82.9% 0.156 106.5);
Tailwind
colors: {
  custom: {
    50: '#e5dc7e',
    500: '#d4cd40',
    950: '#000000',
  },
}
SCSS
$custom: #d4cd40;
$custom-light: #e5dc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cd40",
  "rgb": {
    "r": 212,
    "g": 205,
    "b": 64
  },
  "hsl": {
    "h": 57.162,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.82941,
    "c": 0.15599,
    "h": 106.5
  },
  "luminance": 0.5803
}

Semantic roles & 50–950 ramp

primary
#D4CD40
secondary
#333785
accent
#49E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D4CD40

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

Preview Lab → · Contrast checker → · Palette generator →

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