#D4CD3D#D4CD3D

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

Color values

HEX#D4CD3D
RGBrgb(212, 205, 61)
HSLhsl(57, 64%, 54%)
HSVhsv(57, 71%, 83%)
CMYKcmyk(0%, 3.3%, 71.2%, 16.9%)
CIE-LABlab(80.74, -13.81, 68.35)
CIE-LCHlch(80.74, 69.73, 101.43°)
OKLaboklab(82.92% -0.045 0.1513)
OKLCHoklch(82.92% 0.158 106.6)
XYZxyz(49.8270, 57.9984, 12.9841)
Luminance0.5800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CD3D #3D44D4
analogous
#D4823D #D4CD3D #8FD43D
triadic
#D4CD3D #3DD4CD #CD3DD4
tetradic
#D4CD3D #3DD482 #3D44D4 #D43D8F
square
#D4CD3D #3DD482 #3D44D4 #D43D8F
split-complementary
#D4CD3D #3D8FD4 #823DD4
monochromatic
#7B771B #ADA726 #D4CD3D #DFDA6F #EAE7A1

Accessibility & contrast

On white

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

On black

12.60
#D4CD3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CD3D
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CD3D#FFFFFF#000000##000000
##D4CD3D1.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4cd3d;
/* rgb */ color: rgb(212, 205, 61);
/* oklch */ color: oklch(82.9% 0.158 106.6);
Tailwind
colors: {
  custom: {
    50: '#e5db7c',
    500: '#d4cd3d',
    950: '#000000',
  },
}
SCSS
$custom: #d4cd3d;
$custom-light: #e5db7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cd3d",
  "rgb": {
    "r": 212,
    "g": 205,
    "b": 61
  },
  "hsl": {
    "h": 57.219,
    "s": 63.713,
    "l": 53.529
  },
  "oklch": {
    "l": 0.82921,
    "c": 0.15784,
    "h": 106.6
  },
  "luminance": 0.57997
}

Semantic roles & 50–950 ramp

primary
#D4CD3D
secondary
#323683
accent
#49E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D4CD3D

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

Preview Lab → · Contrast checker → · Palette generator →

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